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: translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002454/0.002454, allocations: 177.3 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6119/0.6119, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.169/1.169, allocations: 221.3 MB / 395 MB, free: 10.07 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.0008366/0.0008366, allocations: 109.1 kB / 477.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.861e-06, allocations: 0 / 0.5528 GB, free: 89.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 82.3 MB / 0.6332 GB, free: 13.93 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4465, allocations: 111.2 MB / 0.7418 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001563/0.4467, allocations: 73.67 kB / 0.7419 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003261/0.4499, allocations: 1.156 MB / 0.743 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4499, allocations: 0 / 0.743 GB, free: 10.67 MB / 0.4948 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.0003185/0.4503, allocations: 358.3 kB / 0.7433 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.4503, allocations: 7.656 kB / 0.7433 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.4503, allocations: 7.781 kB / 0.7434 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.4505, allocations: 174.5 kB / 0.7435 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4505, allocations: 0 / 0.7435 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.4505, allocations: 5.25 kB / 0.7435 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.035e-05/0.4506, allocations: 23.22 kB / 0.7435 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.4507, allocations: 48.72 kB / 0.7436 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4507, allocations: 0 / 0.7436 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.4507, allocations: 4 kB / 0.7436 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4507, allocations: 3.844 kB / 0.7436 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.4511, allocations: 276.8 kB / 0.7439 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.4513, allocations: 46.19 kB / 0.7439 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.4513, allocations: 12.27 kB / 0.7439 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.4513, allocations: 1.453 kB / 0.7439 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.4513, allocations: 30.56 kB / 0.744 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4513, allocations: 3.938 kB / 0.744 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001452/0.4515, allocations: 58.47 kB / 0.744 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.4515, allocations: 51.41 kB / 0.7441 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.799e-05/0.4516, allocations: 98.44 kB / 0.7442 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.4516, allocations: 26.08 kB / 0.7442 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.4516, allocations: 97.67 kB / 0.7443 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.4517, allocations: 9.016 kB / 0.7443 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.4517, allocations: 0 / 0.7443 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.4518, allocations: 322.8 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.4518, allocations: 12.55 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.4518, allocations: 7.344 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.963e-05/0.4518, allocations: 5.578 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4518, allocations: 0 / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.452e-05/0.4519, allocations: 54.84 kB / 0.7447 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.4519, allocations: 11.69 kB / 0.7447 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.4519, allocations: 0 / 0.7447 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.452, allocations: 0 / 0.7447 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.452, allocations: 14.55 kB / 0.7447 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.452, allocations: 1.453 kB / 0.7447 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.4521, allocations: 13.3 kB / 0.7447 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4521, allocations: 0 / 0.7447 GB, free: 25.06 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 5.226e-05/0.4522, allocations: 101 kB / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4522, allocations: 7.719 kB / 0.7448 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.4522, allocations: 8.75 kB / 0.7448 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4522, allocations: 4 kB / 0.7448 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4522, allocations: 5.562 kB / 0.7448 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4523, allocations: 1.312 kB / 0.7448 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.4524, allocations: 145 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4524, allocations: 1.031 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.4525, allocations: 9.938 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4525, allocations: 3.812 kB / 0.745 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4525, allocations: 5.078 kB / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4525, allocations: 0 / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4525, allocations: 4 kB / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.955e-05/0.4526, allocations: 149.8 kB / 0.7451 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.4526, allocations: 78.33 kB / 0.7452 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4527, allocations: 0 / 0.7452 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.4527, allocations: 9.734 kB / 0.7452 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.4528, allocations: 5.219 kB / 0.7452 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.4528, allocations: 5.219 kB / 0.7452 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.751e-05/0.4528, allocations: 87.8 kB / 0.7453 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002011/0.453, allocations: 8.125 kB / 0.7453 GB, free: 24.45 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.000103/0.4531, allocations: 101.4 kB / 0.7454 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.4532, allocations: 20.28 kB / 0.7454 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.4532, allocations: 3.938 kB / 0.7454 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.4533, allocations: 11.62 kB / 0.7454 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.4534, allocations: 12.64 kB / 0.7455 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.4536, allocations: 71.3 kB / 0.7455 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.4539, allocations: 0.7034 MB / 0.7462 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.4539, allocations: 0 / 0.7462 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.001894/0.4558, allocations: 457.4 kB / 0.7467 GB, free: 23.53 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)