Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") [: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.0009105/0.0009106, allocations: 181.6 kB / 7.804 MB, free: 2.121 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.051/1.051, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0007813/0.0007813, allocations: 91.3 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1531/0.1531, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.771e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2271, allocations: 58.83 MB / 476.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6223/0.8495, allocations: 376.7 MB / 0.8332 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.8497, allocations: 70.62 kB / 0.8333 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04056/0.8903, allocations: 20.91 MB / 0.8537 GB, free: 144 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.8903, allocations: 3.906 kB / 0.8537 GB, free: 144 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007651/0.8911, allocations: 0.5664 MB / 0.8543 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8911, allocations: 11.81 kB / 0.8543 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.8913, allocations: 34.62 kB / 0.8543 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.8915, allocations: 229.1 kB / 0.8545 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-05/0.8916, allocations: 118.5 kB / 0.8547 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.8916, allocations: 11.72 kB / 0.8547 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005914/0.8922, allocations: 0.7091 MB / 0.8554 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.8925, allocations: 283.6 kB / 0.8556 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.8926, allocations: 4 kB / 0.8556 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.8926, allocations: 11.83 kB / 0.8556 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.8926, allocations: 3.906 kB / 0.8556 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.8945, allocations: 3.2 MB / 0.8588 GB, free: 140 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.8946, allocations: 56.75 kB / 0.8588 GB, free: 140 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.8947, allocations: 23.8 kB / 0.8588 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/0.8951, allocations: 0.5299 MB / 0.8594 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.8952, allocations: 38.09 kB / 0.8594 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.8952, allocations: 0 / 0.8594 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004231/0.8956, allocations: 148.4 kB / 0.8595 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.594e-05/0.8956, allocations: 59.22 kB / 0.8596 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.8957, allocations: 193.7 kB / 0.8598 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.8958, allocations: 25.7 kB / 0.8598 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.8958, allocations: 225.4 kB / 0.86 GB, free: 139 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.8959, allocations: 43.58 kB / 0.8601 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.8959, allocations: 0 / 0.8601 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.8959, allocations: 326.8 kB / 0.8604 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.896, allocations: 41.67 kB / 0.8604 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.8961, allocations: 314.5 kB / 0.8607 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.8963, allocations: 102.9 kB / 0.8608 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8963, allocations: 3.906 kB / 0.8608 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004784/0.8968, allocations: 320.1 kB / 0.8611 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.8968, allocations: 10.59 kB / 0.8611 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8969, allocations: 13.62 kB / 0.8611 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8969, allocations: 15.62 kB / 0.8612 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.8972, allocations: 116.3 kB / 0.8613 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.8972, allocations: 17.88 kB / 0.8613 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.8974, allocations: 15.72 kB / 0.8613 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.8975, allocations: 28.91 kB / 0.8613 GB, free: 138.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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.95e-05/0.8975, allocations: 121.7 kB / 0.8614 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.8976, allocations: 23.47 kB / 0.8615 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.8978, allocations: 93.42 kB / 0.8616 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.8978, allocations: 9.781 kB / 0.8616 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.8978, allocations: 0 / 0.8616 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8978, allocations: 0 / 0.8616 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.8982, allocations: 381.7 kB / 0.8619 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8982, allocations: 0 / 0.8619 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.8983, allocations: 28.61 kB / 0.862 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8983, allocations: 0 / 0.862 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.8983, allocations: 0 / 0.862 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8983, allocations: 3.938 kB / 0.862 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8983, allocations: 5.719 kB / 0.862 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001477/0.8985, allocations: 204 kB / 0.8622 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.8986, allocations: 108.2 kB / 0.8623 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.8986, allocations: 9.672 kB / 0.8623 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.8988, allocations: 0 / 0.8623 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.8988, allocations: 11.45 kB / 0.8623 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.8988, allocations: 5.953 kB / 0.8623 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.31e-05/0.8989, allocations: 141.3 kB / 0.8624 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004258/0.8993, allocations: 87.05 kB / 0.8625 GB, free: 137.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0002098/0.8995, allocations: 188.4 kB / 0.8627 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.8998, allocations: 147.1 kB / 0.8628 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8998, allocations: 3.875 kB / 0.8628 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.8998, allocations: 24.95 kB / 0.8629 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.9, allocations: 22.75 kB / 0.8629 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.9004, allocations: 183.8 kB / 0.8631 GB, free: 137 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.9005, allocations: 0.7591 MB / 0.8638 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.9005, allocations: 3.938 kB / 0.8638 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.00552/0.9061, allocations: 3.106 MB / 0.8668 GB, free: 135.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches