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.00823/0.00823, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001687/0.001687, allocations: 196.6 kB / 16.68 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9504/0.9504, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4525, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002819/0.4554, allocations: 1.528 MB / 0.6656 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.4562, allocations: 436.5 kB / 0.666 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.4562, allocations: 3.938 kB / 0.666 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.4563, allocations: 5.188 kB / 0.666 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.4563, allocations: 9.312 kB / 0.666 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.4565, allocations: 32.02 kB / 0.6661 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.4566, allocations: 46.27 kB / 0.6661 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4568, allocations: 14.39 kB / 0.6661 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.4569, allocations: 23.84 kB / 0.6662 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.4569, allocations: 22.08 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.457, allocations: 3.438 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.457, allocations: 7.969 kB / 0.6662 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.457, allocations: 13.22 kB / 0.6662 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.457, allocations: 20.2 kB / 0.6662 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.4571, allocations: 50.47 kB / 0.6663 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4571, allocations: 0 / 0.6663 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4571, allocations: 0 / 0.6663 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4572, allocations: 0 / 0.6663 GB, free: 5.562 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.0004574/0.4576, allocations: 355.4 kB / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4577, allocations: 13.44 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.4577, allocations: 36.34 kB / 0.6667 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.4577, allocations: 7.531 kB / 0.6667 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.061e-05/0.4578, allocations: 176 kB / 0.6668 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.4578, allocations: 1.781 kB / 0.6668 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.4579, allocations: 6.344 kB / 0.6668 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.4581, allocations: 71.19 kB / 0.6669 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4581, allocations: 1.281 kB / 0.6669 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4581, allocations: 0 / 0.6669 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.4581, allocations: 5.25 kB / 0.6669 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4583, allocations: 39.12 kB / 0.6669 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.4587, allocations: 294.9 kB / 0.6672 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.459, allocations: 70.25 kB / 0.6673 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.4591, allocations: 24 kB / 0.6673 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4591, allocations: 0 / 0.6673 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.4592, allocations: 31.66 kB / 0.6673 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.4592, allocations: 3.984 kB / 0.6673 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003628/0.4595, allocations: 87.34 kB / 0.6674 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.4596, allocations: 56.66 kB / 0.6675 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.4597, allocations: 121.8 kB / 0.6676 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.4597, allocations: 25.7 kB / 0.6676 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.4597, allocations: 90.83 kB / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.4598, allocations: 13.34 kB / 0.6677 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.4598, allocations: 16.58 kB / 0.6677 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.4599, allocations: 320 kB / 0.668 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.46, allocations: 21.52 kB / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.46, allocations: 16.95 kB / 0.6681 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.4602, allocations: 41.17 kB / 0.6681 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4602, allocations: 0 / 0.6681 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001754/0.4604, allocations: 78.83 kB / 0.6682 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4604, allocations: 4.156 kB / 0.6682 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4604, allocations: 5.609 kB / 0.6682 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4604, allocations: 4 kB / 0.6682 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.4605, allocations: 6.094 kB / 0.6682 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4605, allocations: 1.438 kB / 0.6682 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.4606, allocations: 7.453 kB / 0.6682 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4606, allocations: 5.094 kB / 0.6682 GB, free: 3.602 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 4.93e-05/0.4606, allocations: 112.3 kB / 0.6683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4607, allocations: 2.625 kB / 0.6683 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.4607, allocations: 5.438 kB / 0.6683 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4607, allocations: 4 kB / 0.6684 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4607, allocations: 3.984 kB / 0.6684 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4607, allocations: 1.25 kB / 0.6684 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.4608, allocations: 175 kB / 0.6685 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4609, allocations: 0 / 0.6685 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.4609, allocations: 18.67 kB / 0.6685 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4609, allocations: 1.312 kB / 0.6685 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.461, allocations: 0 / 0.6685 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.461, allocations: 5.516 kB / 0.6685 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.461, allocations: 0 / 0.6685 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.4612, allocations: 172.9 kB / 0.6687 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.4612, allocations: 82.48 kB / 0.6688 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.4612, allocations: 1.438 kB / 0.6688 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.4613, allocations: 6.953 kB / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.4613, allocations: 1.156 kB / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4613, allocations: 1.094 kB / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.4614, allocations: 104.9 kB / 0.6689 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4614, allocations: 1.438 kB / 0.6689 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002057/0.4616, allocations: 5.594 kB / 0.6689 GB, free: 2.887 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.0003598/0.462, allocations: 0.6998 MB / 0.6696 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.4622, allocations: 43.28 kB / 0.6696 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4622, allocations: 0 / 0.6696 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.4623, allocations: 20.42 kB / 0.6697 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4626, allocations: 11.78 kB / 0.6697 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4638, allocations: 1.358 MB / 0.671 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4639, allocations: 0.6815 MB / 0.6717 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.4639, allocations: 6.297 kB / 0.6717 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.464, allocations: 16.75 kB / 0.6717 GB, free: 172 kB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.464, allocations: 0 / 0.6717 GB, free: 172 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.4829, allocations: 1.504 MB / 0.6731 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.509, allocations: 10.03 kB / 0.6732 GB, free: 15.33 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)