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.001158/0.001158, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009194/0.009194, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.326/1.326, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003582, allocations: 12 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1566, allocations: 82.3 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.00167/0.1583, allocations: 1.248 MB / 0.5893 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006997/0.1591, allocations: 423.1 kB / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.1591, allocations: 0 / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.1592, allocations: 0 / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.1592, allocations: 3.938 kB / 0.5897 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1594, allocations: 23.97 kB / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.765e-05/0.1595, allocations: 43.84 kB / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.1596, allocations: 16 kB / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1597, allocations: 15.92 kB / 0.5898 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.1598, allocations: 27.84 kB / 0.5898 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1598, allocations: 0 / 0.5898 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.1598, allocations: 4 kB / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1598, allocations: 0 / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.1599, allocations: 45.56 kB / 0.5899 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.439e-05/0.16, allocations: 47.8 kB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.16, allocations: 0 / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.16, allocations: 0 / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.16, allocations: 0 / 0.5899 GB, free: 0.6055 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.0004912/0.1605, allocations: 359.6 kB / 0.5902 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1606, allocations: 8.031 kB / 0.5903 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1606, allocations: 38.75 kB / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.1607, allocations: 4.938 kB / 0.5903 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1608, allocations: 176.2 kB / 0.5905 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1608, allocations: 4.375 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1609, allocations: 4.375 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1611, allocations: 69.8 kB / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1611, allocations: 0 / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1611, allocations: 0 / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1611, allocations: 0 / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.1613, allocations: 51.97 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.1618, allocations: 304.5 kB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.1621, allocations: 74.53 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1622, allocations: 28.91 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1622, allocations: 4 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1623, allocations: 30.56 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1623, allocations: 3.938 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004111/0.1627, allocations: 105.5 kB / 0.5911 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1627, allocations: 51.41 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1629, allocations: 125.3 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1629, allocations: 25.7 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.1629, allocations: 88.22 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.163, allocations: 15.88 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.163, allocations: 13.72 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1631, allocations: 314.8 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.1632, allocations: 23.98 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.1633, allocations: 23.98 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1635, allocations: 48.77 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1635, allocations: 8 kB / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002251/0.1637, allocations: 73.86 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1638, allocations: 7.984 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1638, allocations: 0 / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1638, allocations: 4.031 kB / 0.5919 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.1639, allocations: 12 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1639, allocations: 0 / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.164, allocations: 15.98 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.164, allocations: 3.938 kB / 0.5919 GB, free: 14.3 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 7.616e-05/0.1641, allocations: 109.8 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1641, allocations: 3.906 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.1641, allocations: 11.91 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1641, allocations: 0 / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1641, allocations: 11.92 kB / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1642, allocations: 0 / 0.5921 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1643, allocations: 173.6 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1643, allocations: 0 / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.1644, allocations: 15.98 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1644, allocations: 0 / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1644, allocations: 0 / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1645, allocations: 0 / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1645, allocations: 0 / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1647, allocations: 183.5 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.1648, allocations: 81.02 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1648, allocations: 0 / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1649, allocations: 15.92 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.1649, allocations: 7.938 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.165, allocations: 0 / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.165, allocations: 99.2 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.165, allocations: 3.938 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002218/0.1653, allocations: 11.94 kB / 0.5926 GB, free: 13.48 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.0005468/0.1658, allocations: 0.7007 MB / 0.5933 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.166, allocations: 47.97 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.166, allocations: 4 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1662, allocations: 27.92 kB / 0.5934 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1664, allocations: 13.34 kB / 0.5934 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.168, allocations: 1.384 MB / 0.5948 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1683, allocations: 0.6848 MB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.1683, allocations: 0 / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.1684, allocations: 23.42 kB / 0.5954 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1684, allocations: 0 / 0.5954 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2659/0.4343, allocations: 1.257 MB / 0.5967 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.4346, allocations: 204.7 kB / 0.5969 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.486, allocations: 0 / 0.5969 GB, free: 9.105 MB / 0.4981 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)