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.001065/0.001065, allocations: 180.9 kB / 7.65 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.7473/0.7473, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.537/1.537, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0009236/0.0009235, allocations: 108 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.332e-05, allocations: 0 / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5055, allocations: 82.31 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.6636, allocations: 111.3 MB / 0.7426 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.664, allocations: 79.95 kB / 0.7426 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004561/0.6686, allocations: 1.467 MB / 0.7441 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6686, allocations: 0 / 0.7441 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.6687, allocations: 4 kB / 0.7441 GB, free: 9.945 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.0004443/0.6691, allocations: 354.4 kB / 0.7444 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.6692, allocations: 12.03 kB / 0.7444 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.6692, allocations: 0 / 0.7444 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.6694, allocations: 182.8 kB / 0.7446 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.6694, allocations: 0 / 0.7446 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.6694, allocations: 4 kB / 0.7446 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.907e-05/0.6695, allocations: 23.98 kB / 0.7446 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.6696, allocations: 53.69 kB / 0.7447 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6697, allocations: 0 / 0.7447 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6697, allocations: 0 / 0.7447 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6697, allocations: 0 / 0.7447 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.6702, allocations: 285.2 kB / 0.745 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.6704, allocations: 46.56 kB / 0.745 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.6704, allocations: 12.92 kB / 0.745 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.6705, allocations: 0 / 0.745 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.6705, allocations: 34.5 kB / 0.745 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.6705, allocations: 0 / 0.745 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001765/0.6707, allocations: 53.78 kB / 0.7451 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.6707, allocations: 51.41 kB / 0.7451 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.6708, allocations: 108.9 kB / 0.7452 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.6709, allocations: 25.7 kB / 0.7453 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.6709, allocations: 95.98 kB / 0.7454 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.671, allocations: 11.83 kB / 0.7454 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.671, allocations: 0 / 0.7454 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6711, allocations: 310.8 kB / 0.7457 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.6711, allocations: 8 kB / 0.7457 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.6711, allocations: 12 kB / 0.7457 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.6712, allocations: 4 kB / 0.7457 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6712, allocations: 0 / 0.7457 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.198e-05/0.6713, allocations: 57.62 kB / 0.7458 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.6713, allocations: 4 kB / 0.7458 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6713, allocations: 3.984 kB / 0.7458 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6713, allocations: 0 / 0.7458 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.6714, allocations: 12 kB / 0.7458 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.6714, allocations: 0 / 0.7458 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.6715, allocations: 20.27 kB / 0.7458 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.6715, allocations: 3.953 kB / 0.7458 GB, free: 7.992 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 7.156e-05/0.6716, allocations: 102.9 kB / 0.7459 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.91e-05/0.6717, allocations: 57.86 kB / 0.7459 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.6717, allocations: 7.844 kB / 0.746 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.6718, allocations: 8.344 kB / 0.746 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6718, allocations: 0 / 0.746 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6718, allocations: 7.891 kB / 0.746 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6718, allocations: 4 kB / 0.746 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.6719, allocations: 150.2 kB / 0.7461 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6719, allocations: 0 / 0.7461 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.672, allocations: 12 kB / 0.7461 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.672, allocations: 0 / 0.7461 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.672, allocations: 0 / 0.7461 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.672, allocations: 7.969 kB / 0.7461 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6721, allocations: 0 / 0.7461 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.6722, allocations: 151.5 kB / 0.7463 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.6722, allocations: 81.02 kB / 0.7464 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.6723, allocations: 0 / 0.7464 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.6723, allocations: 4 kB / 0.7464 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.6724, allocations: 7.984 kB / 0.7464 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.6724, allocations: 0 / 0.7464 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.6724, allocations: 91.22 kB / 0.7465 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6725, allocations: 3.938 kB / 0.7465 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000202/0.6727, allocations: 8 kB / 0.7465 GB, free: 7.219 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.0003536/0.673, allocations: 0.6734 MB / 0.7471 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.6731, allocations: 20 kB / 0.7471 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6731, allocations: 4 kB / 0.7471 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.6732, allocations: 11.94 kB / 0.7472 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.6734, allocations: 11.98 kB / 0.7472 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.6737, allocations: 109.4 kB / 0.7473 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.674, allocations: 0.6885 MB / 0.7479 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.674, allocations: 0 / 0.7479 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.6741, allocations: 23.7 kB / 0.748 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6741, allocations: 0 / 0.748 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.6934, allocations: 0.8501 MB / 0.7488 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.6936, allocations: 136.2 kB / 0.7489 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.219, allocations: 0 / 0.7489 GB, free: 4.555 MB / 0.5261 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)