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.001265/0.001272, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 197.3 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7274/0.7274, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.02 kB / 0.5018 GB, free: 8.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 80.21 MB / 0.5801 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002816/0.154, allocations: 1.513 MB / 0.5816 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007442/0.1548, allocations: 444.6 kB / 0.582 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.1549, allocations: 3.938 kB / 0.582 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.1549, allocations: 3.938 kB / 0.582 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.155, allocations: 7.938 kB / 0.582 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.1552, allocations: 35.06 kB / 0.582 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.1553, allocations: 39.92 kB / 0.5821 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1554, allocations: 19.98 kB / 0.5821 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1555, allocations: 23.86 kB / 0.5821 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.1555, allocations: 31.84 kB / 0.5821 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1556, allocations: 4 kB / 0.5821 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.1556, allocations: 4 kB / 0.5822 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.1556, allocations: 4 kB / 0.5822 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1556, allocations: 19.86 kB / 0.5822 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.138e-05/0.1557, allocations: 43.81 kB / 0.5822 GB, free: 6.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1557, allocations: 0 / 0.5822 GB, free: 6.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1558, allocations: 4 kB / 0.5822 GB, free: 6.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1558, allocations: 4 kB / 0.5822 GB, free: 6.559 MB / 494.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.0004823/0.1563, allocations: 359.6 kB / 0.5826 GB, free: 6.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1563, allocations: 8.031 kB / 0.5826 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1563, allocations: 8.844 kB / 0.5826 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1565, allocations: 172.3 kB / 0.5827 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.1565, allocations: 4.375 kB / 0.5828 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1565, allocations: 4.375 kB / 0.5828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1567, allocations: 69.97 kB / 0.5828 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1567, allocations: 4 kB / 0.5828 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1568, allocations: 4 kB / 0.5828 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1568, allocations: 4 kB / 0.5828 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.157, allocations: 35.97 kB / 0.5829 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.1574, allocations: 296.7 kB / 0.5832 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.1578, allocations: 58.55 kB / 0.5832 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1579, allocations: 24.91 kB / 0.5832 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1579, allocations: 8.047 kB / 0.5832 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1579, allocations: 38.56 kB / 0.5833 GB, free: 5.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.1579, allocations: 0 / 0.5833 GB, free: 5.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003713/0.1583, allocations: 89.5 kB / 0.5834 GB, free: 5.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1584, allocations: 51.41 kB / 0.5834 GB, free: 5.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.1585, allocations: 121.8 kB / 0.5835 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1585, allocations: 25.7 kB / 0.5836 GB, free: 5.004 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1586, allocations: 92.08 kB / 0.5836 GB, free: 4.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1586, allocations: 23.69 kB / 0.5837 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1586, allocations: 17.7 kB / 0.5837 GB, free: 4.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1587, allocations: 318.8 kB / 0.584 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.1588, allocations: 15.98 kB / 0.584 GB, free: 4.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.1589, allocations: 19.98 kB / 0.584 GB, free: 4.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1591, allocations: 37.11 kB / 0.5841 GB, free: 4.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1591, allocations: 4 kB / 0.5841 GB, free: 4.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002086/0.1593, allocations: 73.59 kB / 0.5841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1593, allocations: 4 kB / 0.5841 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1594, allocations: 0 / 0.5841 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1594, allocations: 0 / 0.5841 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.1595, allocations: 11.98 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1595, allocations: 0 / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.1595, allocations: 7.984 kB / 0.5841 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1595, allocations: 4 kB / 0.5842 GB, free: 4.359 MB / 494.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 7.861e-05/0.1596, allocations: 117.8 kB / 0.5843 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.1597, allocations: 7.906 kB / 0.5843 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.1597, allocations: 7.906 kB / 0.5843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1597, allocations: 0 / 0.5843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1597, allocations: 0 / 0.5843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1597, allocations: 0 / 0.5843 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1599, allocations: 177.6 kB / 0.5845 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1599, allocations: 0 / 0.5845 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.16, allocations: 15.98 kB / 0.5845 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.16, allocations: 3.938 kB / 0.5845 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.16, allocations: 0 / 0.5845 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.16, allocations: 0 / 0.5845 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.16, allocations: 0 / 0.5845 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1603, allocations: 171.4 kB / 0.5846 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1603, allocations: 77.11 kB / 0.5847 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1604, allocations: 8 kB / 0.5847 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.1604, allocations: 8 kB / 0.5847 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1605, allocations: 3.984 kB / 0.5847 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1605, allocations: 4 kB / 0.5847 GB, free: 3.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.766e-05/0.1605, allocations: 95.2 kB / 0.5848 GB, free: 3.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1606, allocations: 0 / 0.5848 GB, free: 3.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1608, allocations: 11.94 kB / 0.5848 GB, free: 3.57 MB / 494.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.697e-05/0.1609, allocations: 99.19 kB / 0.5849 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1611, allocations: 43.91 kB / 0.585 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1611, allocations: 0 / 0.585 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.1612, allocations: 19.98 kB / 0.585 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.1615, allocations: 16.5 kB / 0.585 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.1618, allocations: 157.1 kB / 0.5852 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1621, allocations: 0.6884 MB / 0.5858 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.967e-05/0.1621, allocations: 0 / 0.5858 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1621, allocations: 11.44 kB / 0.5858 GB, free: 2.484 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1621, allocations: 0 / 0.5858 GB, free: 2.484 MB / 494.1 MB Notification: Performance of Templates: time 0.002454/0.1646, allocations: 472.5 kB / 0.5863 GB, free: 2.027 MB / 494.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)