Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 105.4 kB / 16.27 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 195.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7836/0.7836, allocations: 132.2 MB / 423.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3733, allocations: 80.18 MB / 0.5807 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002502/0.3758, allocations: 1.513 MB / 0.5822 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006018/0.3764, allocations: 450.8 kB / 0.5826 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.3765, allocations: 3.938 kB / 0.5826 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.3765, allocations: 5.031 kB / 0.5826 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.3766, allocations: 8.984 kB / 0.5826 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.3768, allocations: 30.56 kB / 0.5827 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.134e-05/0.3769, allocations: 41.77 kB / 0.5827 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.377, allocations: 21.11 kB / 0.5827 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.3771, allocations: 21.17 kB / 0.5828 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.3771, allocations: 25.75 kB / 0.5828 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.3772, allocations: 3.375 kB / 0.5828 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.3772, allocations: 4.188 kB / 0.5828 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.3772, allocations: 5.5 kB / 0.5828 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.3772, allocations: 24.98 kB / 0.5828 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.905e-05/0.3773, allocations: 45.97 kB / 0.5829 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3773, allocations: 0.5938 kB / 0.5829 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3773, allocations: 0 / 0.5829 GB, free: 25.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.3774, allocations: 0.8438 kB / 0.5829 GB, free: 25.65 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004413/0.3778, allocations: 363.6 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3779, allocations: 14.98 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.3779, allocations: 7.938 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.378, allocations: 175 kB / 0.5834 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.378, allocations: 2.688 kB / 0.5834 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.378, allocations: 8.375 kB / 0.5834 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3782, allocations: 62.7 kB / 0.5835 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3783, allocations: 0.7812 kB / 0.5835 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3783, allocations: 5.359 kB / 0.5835 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3783, allocations: 2.812 kB / 0.5835 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.3785, allocations: 43.02 kB / 0.5835 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3789, allocations: 300.2 kB / 0.5838 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.3792, allocations: 60.55 kB / 0.5839 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.3793, allocations: 24.22 kB / 0.5839 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.3793, allocations: 0 / 0.5839 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.3793, allocations: 33.09 kB / 0.5839 GB, free: 24.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3793, allocations: 0 / 0.5839 GB, free: 24.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003536/0.3797, allocations: 95.05 kB / 0.584 GB, free: 24.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.3797, allocations: 51.41 kB / 0.5841 GB, free: 24.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.3798, allocations: 119.1 kB / 0.5842 GB, free: 24.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3798, allocations: 27.55 kB / 0.5842 GB, free: 24.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.3798, allocations: 95.09 kB / 0.5843 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3799, allocations: 21.12 kB / 0.5843 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3799, allocations: 12.5 kB / 0.5843 GB, free: 24.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.3799, allocations: 325.5 kB / 0.5846 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.38, allocations: 17.98 kB / 0.5846 GB, free: 23.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.3801, allocations: 14.55 kB / 0.5847 GB, free: 23.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.3803, allocations: 45.89 kB / 0.5847 GB, free: 23.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3803, allocations: 0 / 0.5847 GB, free: 23.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001971/0.3805, allocations: 67.17 kB / 0.5848 GB, free: 23.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3805, allocations: 7.219 kB / 0.5848 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3805, allocations: 2.312 kB / 0.5848 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3806, allocations: 0 / 0.5848 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.3806, allocations: 14.39 kB / 0.5848 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3807, allocations: 2.562 kB / 0.5848 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.3807, allocations: 6.531 kB / 0.5848 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3807, allocations: 1.25 kB / 0.5848 GB, free: 23.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.3808, allocations: 121.7 kB / 0.5849 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3808, allocations: 2.812 kB / 0.5849 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3808, allocations: 6.469 kB / 0.5849 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3809, allocations: 1.438 kB / 0.5849 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3809, allocations: 0 / 0.5849 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3809, allocations: 1.344 kB / 0.5849 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.381, allocations: 179.5 kB / 0.5851 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.381, allocations: 0 / 0.5851 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.3811, allocations: 12.56 kB / 0.5851 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3811, allocations: 0 / 0.5851 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3811, allocations: 4.859 kB / 0.5851 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3811, allocations: 1.25 kB / 0.5851 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3811, allocations: 0 / 0.5851 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.3813, allocations: 173.3 kB / 0.5853 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.3814, allocations: 82.53 kB / 0.5854 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3814, allocations: 0 / 0.5854 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.3815, allocations: 4.156 kB / 0.5854 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3815, allocations: 2.094 kB / 0.5854 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.3815, allocations: 5.391 kB / 0.5854 GB, free: 23.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.3816, allocations: 101.1 kB / 0.5855 GB, free: 23.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3816, allocations: 0 / 0.5855 GB, free: 23.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3818, allocations: 15.28 kB / 0.5855 GB, free: 23.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.979e-05/0.3819, allocations: 101.7 kB / 0.5856 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3822, allocations: 40.72 kB / 0.5856 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3822, allocations: 0 / 0.5856 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.3823, allocations: 23.2 kB / 0.5856 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3826, allocations: 5.375 kB / 0.5856 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.3829, allocations: 173.8 kB / 0.5858 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.93e-05/0.383, allocations: 0.6875 MB / 0.5865 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.3831, allocations: 10 kB / 0.5865 GB, free: 22.04 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3831, allocations: 0 / 0.5865 GB, free: 22.04 MB / 446.1 MB Notification: Performance of Templates: time 0.001821/0.3849, allocations: 0.7155 MB / 0.5872 GB, free: 21.71 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)