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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.01094/0.01094, allocations: 171.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8142/0.8142, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.000995/0.0009952, allocations: 97.75 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004425, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5086, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.6668, allocations: 112 MB / 0.7589 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.6672, allocations: 75.95 kB / 0.759 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004543/0.6717, allocations: 1.478 MB / 0.7604 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6718, allocations: 0 / 0.7604 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.6718, allocations: 0 / 0.7604 GB, free: 2.426 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.0005498/0.6723, allocations: 375 kB / 0.7608 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.6724, allocations: 12.03 kB / 0.7608 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.6725, allocations: 38.5 kB / 0.7608 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.6725, allocations: 4 kB / 0.7608 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.6727, allocations: 178.9 kB / 0.761 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.6727, allocations: 3.984 kB / 0.761 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.6727, allocations: 8 kB / 0.761 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.673, allocations: 61.67 kB / 0.7611 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.673, allocations: 0 / 0.7611 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.673, allocations: 4 kB / 0.7611 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.673, allocations: 4 kB / 0.7611 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.6732, allocations: 47.91 kB / 0.7611 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.6739, allocations: 312.7 kB / 0.7614 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.6742, allocations: 74.48 kB / 0.7615 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.6743, allocations: 0 / 0.7615 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6743, allocations: 34.56 kB / 0.7615 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.6743, allocations: 0 / 0.7615 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004327/0.6747, allocations: 101.8 kB / 0.7616 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.6748, allocations: 59.36 kB / 0.7617 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6749, allocations: 109 kB / 0.7618 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.675, allocations: 25.7 kB / 0.7618 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/0.6751, allocations: 88.14 kB / 0.7619 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.6751, allocations: 11.8 kB / 0.7619 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.6751, allocations: 0 / 0.7619 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6752, allocations: 314.8 kB / 0.7622 GB, free: 392 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.6753, allocations: 31.92 kB / 0.7622 GB, free: 360 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-05/0.6754, allocations: 19.92 kB / 0.7622 GB, free: 340 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.856e-05/0.6755, allocations: 19.98 kB / 0.7623 GB, free: 320 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6755, allocations: 0 / 0.7623 GB, free: 320 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002188/0.6758, allocations: 81.67 kB / 0.7623 GB, free: 232 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6758, allocations: 7.984 kB / 0.7623 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6758, allocations: 0 / 0.7623 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.6758, allocations: 336 / 0.7623 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.6759, allocations: 8 kB / 0.7624 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.6759, allocations: 4 kB / 0.7624 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.676, allocations: 19.84 kB / 0.7624 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.676, allocations: 0 / 0.7624 GB, free: 192 kB / 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6761, allocations: 117.8 kB / 0.7625 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.6762, allocations: 0 / 0.7625 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.6762, allocations: 11.89 kB / 0.7625 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6762, allocations: 0 / 0.7625 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.6762, allocations: 3.984 kB / 0.7625 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6763, allocations: 4 kB / 0.7625 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.6765, allocations: 181.6 kB / 0.7627 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6765, allocations: 0 / 0.7627 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.6766, allocations: 15.98 kB / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6766, allocations: 0 / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.6766, allocations: 0 / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6766, allocations: 0 / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6766, allocations: 0 / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.6769, allocations: 183.4 kB / 0.7629 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.677, allocations: 81.05 kB / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.677, allocations: 0 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.6771, allocations: 7.984 kB / 0.763 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.6771, allocations: 11.94 kB / 0.763 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.6771, allocations: 4 kB / 0.763 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.6772, allocations: 91.27 kB / 0.7631 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.6772, allocations: 0 / 0.7631 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002041/0.6774, allocations: 11.91 kB / 0.7631 GB, free: 15.38 MB / 0.5417 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 (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.0005934/0.678, allocations: 0.7085 MB / 0.7638 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.6783, allocations: 47.91 kB / 0.7638 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6783, allocations: 0 / 0.7638 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/0.6784, allocations: 27.98 kB / 0.7638 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6786, allocations: 4 kB / 0.7638 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.6797, allocations: 0.4928 MB / 0.7643 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.68, allocations: 0.6926 MB / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.68, allocations: 0 / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.6801, allocations: 23.42 kB / 0.765 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.6801, allocations: 0 / 0.765 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.6932, allocations: 1.233 MB / 0.7662 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.6935, allocations: 173.2 kB / 0.7664 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.29, allocations: 0 / 0.7664 GB, free: 11.94 MB / 0.5417 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/linux/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)