Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [: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.0009031/0.0009032, allocations: 187.8 kB / 7.802 MB, free: 2.504 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.03/1.03, 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.0008665/0.0008665, allocations: 97.88 kB / 261.4 MB, free: 13.54 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.1536/0.1536, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.025e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2248, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7295/0.9543, allocations: 0.574 GB / 1.039 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.9546, allocations: 90.73 kB / 1.039 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.3347/1.289, allocations: 100.9 MB / 1.138 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.08e-05/1.289, allocations: 12 kB / 1.138 GB, free: 130.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001306/1.291, allocations: 0.8206 MB / 1.139 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/1.291, allocations: 8.031 kB / 1.139 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/1.291, allocations: 75.33 kB / 1.139 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/1.292, allocations: 410.5 kB / 1.139 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/1.292, allocations: 50.39 kB / 1.139 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/1.292, allocations: 27.94 kB / 1.139 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004261/1.292, allocations: 305.4 kB / 1.14 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/1.293, allocations: 441.6 kB / 1.14 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.293, allocations: 4 kB / 1.14 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/1.293, allocations: 0 / 1.14 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/1.293, allocations: 16.66 kB / 1.14 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/1.295, allocations: 2.509 MB / 1.142 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/1.295, allocations: 161.9 kB / 1.143 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/1.296, allocations: 112.9 kB / 1.143 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.296, allocations: 4 kB / 1.143 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/1.296, allocations: 195.2 kB / 1.143 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/1.296, allocations: 4 kB / 1.143 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.00541/1.301, allocations: 1.935 MB / 1.145 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/1.301, allocations: 158.2 kB / 1.145 GB, free: 123 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/1.301, allocations: 312.7 kB / 1.145 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.302, allocations: 25.7 kB / 1.145 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/1.302, allocations: 219.8 kB / 1.146 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.231e-05/1.302, allocations: 157.7 kB / 1.146 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/1.302, allocations: 0 / 1.146 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.568e-05/1.302, allocations: 354.8 kB / 1.146 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/1.302, allocations: 149.3 kB / 1.146 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/1.302, allocations: 324.3 kB / 1.146 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/1.303, allocations: 216.6 kB / 1.147 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.303, allocations: 4 kB / 1.147 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008016/1.303, allocations: 0.5619 MB / 1.147 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.303, allocations: 8 kB / 1.147 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.303, allocations: 7.984 kB / 1.147 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/1.304, allocations: 108.7 kB / 1.147 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/1.304, allocations: 156.1 kB / 1.147 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003952/1.305, allocations: 0.6966 MB / 1.148 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/1.305, allocations: 64.02 kB / 1.148 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/1.305, allocations: 43.98 kB / 1.148 GB, free: 119.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (sweptVolume.regularFlow[1],$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.305, allocations: 124.8 kB / 1.148 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/1.305, allocations: 47.44 kB / 1.148 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/1.307, allocations: 0.5598 MB / 1.149 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.307, allocations: 4 kB / 1.149 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.307, allocations: 0 / 1.149 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.307, allocations: 11.98 kB / 1.149 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/1.308, allocations: 1.034 MB / 1.15 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.308, allocations: 4 kB / 1.15 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/1.308, allocations: 124 kB / 1.15 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.309, allocations: 96.77 kB / 1.15 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.309, allocations: 11.98 kB / 1.15 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.31, allocations: 1.596 MB / 1.152 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.31, allocations: 3.906 kB / 1.152 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009872/1.311, allocations: 0.7807 MB / 1.153 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/1.311, allocations: 152.5 kB / 1.153 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/1.311, allocations: 11.89 kB / 1.153 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/1.312, allocations: 63.95 kB / 1.153 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.312, allocations: 59.62 kB / 1.153 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/1.312, allocations: 35.98 kB / 1.153 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001715/1.312, allocations: 235.2 kB / 1.153 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009395/1.313, allocations: 275.8 kB / 1.153 GB, free: 114 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/1.314, allocations: 0.9238 MB / 1.154 GB, free: 113 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006306/1.315, allocations: 431 kB / 1.155 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.315, allocations: 0 / 1.155 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/1.315, allocations: 311.1 kB / 1.155 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/1.316, allocations: 157.2 kB / 1.155 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/1.317, allocations: 0.8062 MB / 1.156 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/1.318, allocations: 0.9644 MB / 1.157 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/1.318, allocations: 0 / 1.157 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01896/1.337, allocations: 15.81 MB / 1.172 GB, free: 94.51 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches