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.001074/0.001074, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8957/0.8957, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.678/1.678, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009408, allocations: 87.41 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.161e-05, allocations: 2.375 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1551, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.612/0.7671, allocations: 111.9 MB / 0.7498 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.7675, allocations: 76.64 kB / 0.7499 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005535/0.7731, allocations: 1.474 MB / 0.7513 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7731, allocations: 0 / 0.7513 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.7731, allocations: 0 / 0.7513 GB, free: 27.71 MB / 0.5105 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.0004858/0.7736, allocations: 355.5 kB / 0.7517 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.7737, allocations: 7.844 kB / 0.7517 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.7737, allocations: 38.28 kB / 0.7517 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.7738, allocations: 4 kB / 0.7517 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.774, allocations: 177.8 kB / 0.7519 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.774, allocations: 3.844 kB / 0.7519 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.774, allocations: 0 / 0.7519 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.7742, allocations: 59.98 kB / 0.7519 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.7742, allocations: 0 / 0.7519 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.7742, allocations: 0 / 0.7519 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7743, allocations: 0 / 0.7519 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.7743, allocations: 23.16 kB / 0.752 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.7749, allocations: 305.8 kB / 0.7523 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.7751, allocations: 54.66 kB / 0.7523 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.7752, allocations: 12.11 kB / 0.7523 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.7752, allocations: 7.984 kB / 0.7523 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.7752, allocations: 34.44 kB / 0.7524 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.7752, allocations: 3.938 kB / 0.7524 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001917/0.7754, allocations: 51.52 kB / 0.7524 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.7755, allocations: 58.16 kB / 0.7525 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.7756, allocations: 112.1 kB / 0.7526 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.7756, allocations: 25.7 kB / 0.7526 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.7757, allocations: 97.62 kB / 0.7527 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.7757, allocations: 11.22 kB / 0.7527 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.7757, allocations: 0 / 0.7527 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7759, allocations: 320.7 kB / 0.753 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.776, allocations: 7.344 kB / 0.753 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.776, allocations: 3.844 kB / 0.753 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.776, allocations: 10.16 kB / 0.753 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.776, allocations: 3.969 kB / 0.753 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001137/0.7762, allocations: 51.45 kB / 0.7531 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7762, allocations: 7.75 kB / 0.7531 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7762, allocations: 7.25 kB / 0.7531 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7762, allocations: 2.859 kB / 0.7531 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.7763, allocations: 11.88 kB / 0.7531 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7764, allocations: 6.391 kB / 0.7531 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.7764, allocations: 7.719 kB / 0.7531 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.7764, allocations: 0 / 0.7531 GB, free: 26.03 MB / 0.5105 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 8.42e-05/0.7765, allocations: 105.5 kB / 0.7532 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.7766, allocations: 7.844 kB / 0.7532 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.7766, allocations: 7.719 kB / 0.7532 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7766, allocations: 3.844 kB / 0.7532 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7767, allocations: 0 / 0.7532 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.7767, allocations: 3.953 kB / 0.7532 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.7769, allocations: 170.9 kB / 0.7534 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7769, allocations: 0 / 0.7534 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.777, allocations: 17.19 kB / 0.7534 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.777, allocations: 0 / 0.7534 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.777, allocations: 6.766 kB / 0.7534 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.777, allocations: 0 / 0.7534 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7771, allocations: 0 / 0.7534 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.7772, allocations: 147.7 kB / 0.7536 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.7773, allocations: 90.88 kB / 0.7537 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.7773, allocations: 0 / 0.7537 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.7774, allocations: 6.703 kB / 0.7537 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.7775, allocations: 7.75 kB / 0.7537 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.7775, allocations: 3.938 kB / 0.7537 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.07e-05/0.7776, allocations: 97 kB / 0.7538 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7776, allocations: 0 / 0.7538 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003511/0.7779, allocations: 7.781 kB / 0.7538 GB, free: 25.39 MB / 0.5105 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.0004857/0.7784, allocations: 0.6838 MB / 0.7544 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.7786, allocations: 28.88 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7786, allocations: 0 / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.7786, allocations: 11.34 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.7788, allocations: 3.312 kB / 0.7545 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.7793, allocations: 114.7 kB / 0.7546 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.7796, allocations: 0.6844 MB / 0.7553 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.7797, allocations: 8.125 kB / 0.7553 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.7798, allocations: 17.73 kB / 0.7553 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/0.7798, allocations: 0 / 0.7553 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.7934, allocations: 1.237 MB / 0.7565 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.7936, allocations: 151.8 kB / 0.7566 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.353, allocations: 0 / 0.7566 GB, free: 23.52 MB / 0.5105 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)