Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006004/0.006004, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001268/0.001268, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8065/0.8065, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 61.17 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 80.93 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002935/0.1672, allocations: 1.532 MB / 0.6656 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.1681, allocations: 435 kB / 0.666 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.1682, allocations: 4 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.1682, allocations: 7.922 kB / 0.666 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.1683, allocations: 7.875 kB / 0.666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1686, allocations: 19.98 kB / 0.6661 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1687, allocations: 55.78 kB / 0.6661 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1688, allocations: 15.98 kB / 0.6661 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.169, allocations: 23.92 kB / 0.6662 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.169, allocations: 19.92 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.169, allocations: 4 kB / 0.6662 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.169, allocations: 4 kB / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.1691, allocations: 15.92 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1691, allocations: 19.86 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1692, allocations: 47.81 kB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1693, allocations: 3.938 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1693, allocations: 0 / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.1693, allocations: 0 / 0.6663 GB, free: 4.109 MB / 0.4981 GB 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.0005461/0.1698, allocations: 355.1 kB / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1699, allocations: 13.11 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.1699, allocations: 42.67 kB / 0.6667 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.17, allocations: 12.84 kB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1701, allocations: 168.3 kB / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.1701, allocations: 384 / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1702, allocations: 8.375 kB / 0.6668 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1704, allocations: 69.72 kB / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1704, allocations: 0 / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1704, allocations: 0 / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1704, allocations: 0 / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1706, allocations: 47.95 kB / 0.667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.1711, allocations: 296.7 kB / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1714, allocations: 62.48 kB / 0.6673 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.1715, allocations: 20.91 kB / 0.6673 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1716, allocations: 8 kB / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1716, allocations: 30.56 kB / 0.6674 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.1716, allocations: 0 / 0.6674 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003797/0.172, allocations: 85.64 kB / 0.6674 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.172, allocations: 59.34 kB / 0.6675 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.1721, allocations: 113.8 kB / 0.6676 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1722, allocations: 33.7 kB / 0.6676 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1722, allocations: 92.03 kB / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.1722, allocations: 11.91 kB / 0.6677 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1723, allocations: 9.719 kB / 0.6677 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1724, allocations: 326.8 kB / 0.6681 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.1725, allocations: 11.98 kB / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.1726, allocations: 15.98 kB / 0.6681 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1728, allocations: 49.09 kB / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.1728, allocations: 4 kB / 0.6681 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.173, allocations: 73.58 kB / 0.6682 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.173, allocations: 9.969 kB / 0.6682 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.173, allocations: 0 / 0.6682 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.173, allocations: 0 / 0.6682 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.1731, allocations: 15.92 kB / 0.6682 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1731, allocations: 7.938 kB / 0.6682 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.1732, allocations: 4 kB / 0.6682 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1732, allocations: 3.938 kB / 0.6682 GB, free: 1.863 MB / 0.4981 GB 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 9.208e-05/0.1733, allocations: 117.8 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1734, allocations: 0 / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.1734, allocations: 7.906 kB / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1734, allocations: 0 / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1734, allocations: 0 / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1734, allocations: 0 / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1736, allocations: 189.4 kB / 0.6685 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1736, allocations: 0 / 0.6685 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.1737, allocations: 4 kB / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1737, allocations: 4 kB / 0.6685 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1737, allocations: 7.984 kB / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1737, allocations: 0 / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1737, allocations: 0 / 0.6686 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.174, allocations: 167.4 kB / 0.6687 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.1741, allocations: 89 kB / 0.6688 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1741, allocations: 0 / 0.6688 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.1742, allocations: 4 kB / 0.6688 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.1742, allocations: 0 / 0.6688 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1742, allocations: 3.984 kB / 0.6688 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.1743, allocations: 99.22 kB / 0.6689 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1743, allocations: 0 / 0.6689 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002154/0.1745, allocations: 8 kB / 0.6689 GB, free: 1.078 MB / 0.4981 GB 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 0.0005254/0.175, allocations: 0.6981 MB / 0.6696 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1753, allocations: 39.95 kB / 0.6696 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1753, allocations: 4 kB / 0.6696 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.1754, allocations: 19.98 kB / 0.6697 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1757, allocations: 4 kB / 0.6697 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1773, allocations: 1.351 MB / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1776, allocations: 0.6846 MB / 0.6716 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.1777, allocations: 11.98 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1777, allocations: 19.61 kB / 0.6717 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1777, allocations: 0 / 0.6717 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.1956, allocations: 1.511 MB / 0.6731 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.288, allocations: 9.531 kB / 0.6732 GB, free: 12.69 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)