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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) 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: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.778/0.778, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 98.61 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.052e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.516/0.516, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.6651, allocations: 111.3 MB / 0.7426 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.6654, allocations: 75.95 kB / 0.7427 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004387/0.6698, allocations: 1.463 MB / 0.7441 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6698, allocations: 0 / 0.7441 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.6698, allocations: 4 kB / 0.7441 GB, free: 9.887 MB / 0.5261 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.0006123/0.6704, allocations: 362.4 kB / 0.7444 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.419e-05/0.6705, allocations: 12.03 kB / 0.7444 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.6706, allocations: 0 / 0.7444 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.6708, allocations: 178.8 kB / 0.7446 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.6709, allocations: 0 / 0.7446 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.6709, allocations: 4 kB / 0.7446 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.671, allocations: 20 kB / 0.7446 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.6711, allocations: 53.67 kB / 0.7447 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6712, allocations: 0 / 0.7447 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.6712, allocations: 0 / 0.7447 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6712, allocations: 0 / 0.7447 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.6718, allocations: 281.2 kB / 0.745 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.672, allocations: 42.56 kB / 0.745 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.6721, allocations: 16.92 kB / 0.745 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.6721, allocations: 0 / 0.745 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.6722, allocations: 38.56 kB / 0.7451 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.6722, allocations: 0 / 0.7451 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000218/0.6724, allocations: 49.72 kB / 0.7451 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6725, allocations: 55.41 kB / 0.7452 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.6726, allocations: 104.9 kB / 0.7453 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.6726, allocations: 29.7 kB / 0.7453 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.6727, allocations: 92.05 kB / 0.7454 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.6728, allocations: 12.16 kB / 0.7454 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.6728, allocations: 0 / 0.7454 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.673, allocations: 318.8 kB / 0.7457 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.673, allocations: 8 kB / 0.7457 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.673, allocations: 7.938 kB / 0.7457 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.6731, allocations: 8 kB / 0.7457 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6731, allocations: 0 / 0.7457 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.189e-05/0.6732, allocations: 53.69 kB / 0.7458 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6732, allocations: 4 kB / 0.7458 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6732, allocations: 3.938 kB / 0.7458 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.6732, allocations: 0 / 0.7458 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.6733, allocations: 15.98 kB / 0.7458 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.6734, allocations: 4 kB / 0.7458 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.6734, allocations: 11.89 kB / 0.7458 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.6734, allocations: 3.953 kB / 0.7458 GB, free: 7.934 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.6736, allocations: 105 kB / 0.7459 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.706e-05/0.6737, allocations: 49.88 kB / 0.7459 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.6737, allocations: 7.938 kB / 0.746 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.6737, allocations: 12.34 kB / 0.746 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6738, allocations: 0 / 0.746 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.6738, allocations: 3.953 kB / 0.746 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6738, allocations: 0 / 0.746 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.674, allocations: 146.3 kB / 0.7461 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.674, allocations: 0 / 0.7461 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.6741, allocations: 23.92 kB / 0.7461 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6741, allocations: 4 kB / 0.7461 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6741, allocations: 0 / 0.7461 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.6741, allocations: 0 / 0.7461 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6741, allocations: 0 / 0.7461 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.6743, allocations: 151.5 kB / 0.7463 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.6744, allocations: 81.02 kB / 0.7464 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.6744, allocations: 0 / 0.7464 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.6745, allocations: 8 kB / 0.7464 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.6745, allocations: 7.984 kB / 0.7464 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.6746, allocations: 0 / 0.7464 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.6746, allocations: 83.28 kB / 0.7465 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6746, allocations: 7.938 kB / 0.7465 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002199/0.6749, allocations: 4.281 kB / 0.7465 GB, free: 7.168 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005086/0.6754, allocations: 0.6812 MB / 0.7471 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.6755, allocations: 16 kB / 0.7471 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6755, allocations: 3.938 kB / 0.7471 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.6755, allocations: 12 kB / 0.7472 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.6758, allocations: 9.875 kB / 0.7472 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.6761, allocations: 113.4 kB / 0.7473 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.6765, allocations: 0.6924 MB / 0.748 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.6765, allocations: 0 / 0.748 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.6766, allocations: 19.42 kB / 0.748 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.6766, allocations: 0 / 0.748 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.6972, allocations: 0.8527 MB / 0.7488 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/0.6976, allocations: 134 kB / 0.7489 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.308, allocations: 0 / 0.7489 GB, free: 4.496 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)