Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel") [: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 3.2.3+maint.om/package.mo): time 0.002383/0.002382, allocations: 176.2 kB / 8.151 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.2 MB / 213.8 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001287, allocations: 86.44 kB / 261.8 MB, free: 13.65 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.474e-06, allocations: 0 / 314.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.3604, allocations: 77.26 MB / 439.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.3608, allocations: 72.47 kB / 439.2 MB, free: 8.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03456/0.3954, allocations: 7.377 MB / 446.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.3954, allocations: 0.75 kB / 446.5 MB, free: 1.441 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007802/0.3962, allocations: 462.1 kB / 447 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3963, allocations: 8.031 kB / 447 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.3964, allocations: 79.19 kB / 447.1 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3966, allocations: 242.4 kB / 447.3 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.922e-05/0.3967, allocations: 150.6 kB / 447.5 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.3967, allocations: 150.6 kB / 447.6 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.696e-05/0.3968, allocations: 166.5 kB / 447.8 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.767e-05/0.3969, allocations: 101 kB / 447.9 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.3969, allocations: 79.27 kB / 447.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.397, allocations: 150.6 kB / 448.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/0.397, allocations: 155.7 kB / 448.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.3974, allocations: 430.6 kB / 448.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.047e-05/0.3975, allocations: 177.1 kB / 448.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.3975, allocations: 80.14 kB / 448.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.3976, allocations: 75.28 kB / 449 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.3977, allocations: 47.42 kB / 449 MB, free: 14.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.697e-06/0.3977, allocations: 0 / 449 MB, free: 14.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001661/0.3979, allocations: 37.59 kB / 449.1 MB, free: 14.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.398, allocations: 51.41 kB / 449.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.3981, allocations: 100.9 kB / 449.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.3981, allocations: 25.7 kB / 449.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.3982, allocations: 150.6 kB / 449.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3982, allocations: 0 / 449.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.3982, allocations: 1.406 kB / 449.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3983, allocations: 314.9 kB / 449.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.3983, allocations: 0 / 449.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-06/0.3983, allocations: 4 kB / 449.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.595e-05/0.3984, allocations: 0 / 449.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3984, allocations: 0 / 449.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.07e-05/0.3985, allocations: 33.69 kB / 449.7 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3985, allocations: 4 kB / 449.7 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3985, allocations: 3.938 kB / 449.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3985, allocations: 4.094 kB / 449.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/0.3986, allocations: 7.906 kB / 449.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3986, allocations: 0 / 449.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.3986, allocations: 0 / 449.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3986, allocations: 1.312 kB / 449.8 MB, free: 14.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.585e-05/0.3987, allocations: 29.64 kB / 449.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.3987, allocations: 5.219 kB / 449.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.3988, allocations: 11.14 kB / 449.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3988, allocations: 3.906 kB / 449.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3988, allocations: 4 kB / 449.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3988, allocations: 0 / 449.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.399, allocations: 130.2 kB / 449.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.399, allocations: 0 / 449.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-06/0.399, allocations: 0 / 449.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.399, allocations: 0 / 449.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.399, allocations: 2.188 kB / 449.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.399, allocations: 4 kB / 449.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.399, allocations: 0 / 449.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001055/0.3992, allocations: 61.05 kB / 450 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.3992, allocations: 82.41 kB / 450.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.3992, allocations: 4 kB / 450.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.3993, allocations: 3.906 kB / 450.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.3993, allocations: 0 / 450.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3993, allocations: 0 / 450.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.921e-05/0.3994, allocations: 79.28 kB / 450.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008045/0.4002, allocations: 159.8 kB / 450.3 MB, free: 13.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001487/0.4017, allocations: 0.4935 MB / 450.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.634e-05/0.4018, allocations: 0 / 450.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4018, allocations: 4 kB / 450.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/0.4019, allocations: 3.938 kB / 450.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.402, allocations: 8.125 kB / 450.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.4023, allocations: 80.06 kB / 450.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.4025, allocations: 0.6919 MB / 451.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4026, allocations: 0 / 451.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of Templates: time 0.008811/0.4114, allocations: 3.292 MB / 454.9 MB, free: 8.773 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches