Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003435/0.003435, allocations: 188.8 kB / 7.457 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6743/0.6743, allocations: 130.6 MB / 138.5 MB, free: 2.184 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.536/1.536, allocations: 221.3 MB / 391.4 MB, free: 12.95 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.0009145/0.0009149, allocations: 101.1 kB / 473.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.211e-06, allocations: 0 / 0.5479 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 81.58 MB / 0.6276 GB, free: 18.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6178, allocations: 110.9 MB / 0.7359 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6181, allocations: 78.17 kB / 0.736 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003999/0.6221, allocations: 1.155 MB / 0.7371 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.6221, allocations: 3.875 kB / 0.7371 GB, free: 11.09 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.0003979/0.6225, allocations: 350 kB / 0.7375 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6226, allocations: 11.56 kB / 0.7375 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.6226, allocations: 7.719 kB / 0.7375 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.6228, allocations: 164.3 kB / 0.7376 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.6228, allocations: 7.75 kB / 0.7376 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.6228, allocations: 4 kB / 0.7376 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.784e-05/0.6229, allocations: 29.91 kB / 0.7377 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.623, allocations: 46.05 kB / 0.7377 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.6231, allocations: 0 / 0.7377 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.6231, allocations: 0 / 0.7377 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6231, allocations: 0.8438 kB / 0.7377 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.6236, allocations: 286.5 kB / 0.738 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.6238, allocations: 44.77 kB / 0.738 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.6238, allocations: 16.78 kB / 0.738 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.6239, allocations: 4 kB / 0.7381 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6239, allocations: 31.27 kB / 0.7381 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.6239, allocations: 0 / 0.7381 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001847/0.6241, allocations: 54.58 kB / 0.7381 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6241, allocations: 56.09 kB / 0.7382 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.6242, allocations: 106.1 kB / 0.7383 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.6242, allocations: 25.7 kB / 0.7383 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.6243, allocations: 88.06 kB / 0.7384 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.6243, allocations: 17.12 kB / 0.7384 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.6243, allocations: 0 / 0.7384 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6244, allocations: 314.9 kB / 0.7387 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.6245, allocations: 8.219 kB / 0.7387 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.6245, allocations: 7.672 kB / 0.7387 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.6245, allocations: 4.625 kB / 0.7387 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6245, allocations: 1.781 kB / 0.7387 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.938e-05/0.6246, allocations: 53.81 kB / 0.7388 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6246, allocations: 3.812 kB / 0.7388 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6246, allocations: 4.625 kB / 0.7388 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.6246, allocations: 3.875 kB / 0.7388 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.6247, allocations: 12.58 kB / 0.7388 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.6248, allocations: 3.938 kB / 0.7388 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.6248, allocations: 13.08 kB / 0.7388 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.6248, allocations: 0 / 0.7388 GB, free: 25.48 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 9.016e-05/0.6249, allocations: 109.8 kB / 0.7389 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.625, allocations: 7.781 kB / 0.7389 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.625, allocations: 4 kB / 0.7389 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.625, allocations: 1.734 kB / 0.7389 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.625, allocations: 0 / 0.7389 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.625, allocations: 0 / 0.7389 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.6252, allocations: 151 kB / 0.7391 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6252, allocations: 1.312 kB / 0.7391 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.6253, allocations: 14.17 kB / 0.7391 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6253, allocations: 0 / 0.7391 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.6253, allocations: 3.906 kB / 0.7391 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6253, allocations: 4.953 kB / 0.7391 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6253, allocations: 384 / 0.7391 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001252/0.6254, allocations: 144.2 kB / 0.7392 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.6255, allocations: 84.89 kB / 0.7393 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.6255, allocations: 1.219 kB / 0.7393 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.6256, allocations: 17.03 kB / 0.7393 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.6256, allocations: 9.109 kB / 0.7394 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6257, allocations: 0 / 0.7394 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.23e-05/0.6257, allocations: 84.67 kB / 0.7394 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002186/0.6259, allocations: 7.562 kB / 0.7394 GB, free: 24.88 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.0001019/0.626, allocations: 95.52 kB / 0.7395 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.967e-05/0.6261, allocations: 26.53 kB / 0.7396 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6261, allocations: 0 / 0.7396 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.6262, allocations: 9.281 kB / 0.7396 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.6264, allocations: 11.61 kB / 0.7396 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.6266, allocations: 74.59 kB / 0.7397 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.627, allocations: 0.702 MB / 0.7403 GB, free: 24 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.627, allocations: 0 / 0.7403 GB, free: 24 MB / 0.5105 GB Notification: Performance of Templates: time 0.002418/0.6294, allocations: 449.6 kB / 0.7408 GB, free: 23.96 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & ./IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)