Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002685/0.00269, allocations: 174.2 kB / 8.147 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.2 MB / 213.8 MB, free: 14.01 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 92.25 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2559/0.2559, allocations: 43.49 MB / 353.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/7.073e-06, allocations: 0 / 417.7 MB, free: 40.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4837, allocations: 88.96 MB / 0.5522 GB, free: 10.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.484, allocations: 71.41 kB / 0.5523 GB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05272/0.5367, allocations: 11.09 MB / 0.5631 GB, free: 14.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-05/0.5368, allocations: 16 kB / 0.5631 GB, free: 14.9 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002557/0.5394, allocations: 0.8612 MB / 0.564 GB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5395, allocations: 8.031 kB / 0.564 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.5397, allocations: 79.06 kB / 0.5641 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/0.5404, allocations: 371.2 kB / 0.5644 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.5405, allocations: 16 kB / 0.5644 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5406, allocations: 40 kB / 0.5645 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/0.542, allocations: 414.5 kB / 0.5649 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5434, allocations: 0.4895 MB / 0.5654 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.5435, allocations: 11.89 kB / 0.5654 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.5435, allocations: 0 / 0.5654 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.5436, allocations: 16 kB / 0.5654 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.5489, allocations: 1.961 MB / 0.5673 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.5501, allocations: 441.5 kB / 0.5677 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.5508, allocations: 262.2 kB / 0.568 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.5511, allocations: 101.7 kB / 0.5681 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.5511, allocations: 50.84 kB / 0.5681 GB, free: 9.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.336e-06/0.5511, allocations: 0 / 0.5681 GB, free: 9.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.008922/0.5601, allocations: 3.558 MB / 0.5716 GB, free: 5.621 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5602, allocations: 170.8 kB / 0.5717 GB, free: 5.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.5607, allocations: 289.2 kB / 0.572 GB, free: 5.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.753e-05/0.5608, allocations: 29.7 kB / 0.5721 GB, free: 5.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.561, allocations: 255.7 kB / 0.5723 GB, free: 4.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.5615, allocations: 394.1 kB / 0.5727 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.5615, allocations: 0 / 0.5727 GB, free: 4.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5617, allocations: 358.7 kB / 0.573 GB, free: 4.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/0.5625, allocations: 250.6 kB / 0.5733 GB, free: 3.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.5635, allocations: 434.5 kB / 0.5737 GB, free: 3.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009621/0.5645, allocations: 312 kB / 0.574 GB, free: 3.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.5645, allocations: 4 kB / 0.574 GB, free: 3.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00224/0.5668, allocations: 0.7841 MB / 0.5747 GB, free: 2.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5668, allocations: 4 kB / 0.5747 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.5668, allocations: 8 kB / 0.5747 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/0.5669, allocations: 8 kB / 0.5748 GB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.5692, allocations: 304 kB / 0.575 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.5693, allocations: 19.92 kB / 0.5751 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/0.57, allocations: 35.98 kB / 0.5751 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.5702, allocations: 47.98 kB / 0.5751 GB, free: 1.836 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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 0.0001945/0.5704, allocations: 54.7 kB / 0.5752 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.5707, allocations: 75.16 kB / 0.5753 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.5715, allocations: 226.8 kB / 0.5755 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.5715, allocations: 16 kB / 0.5755 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.5715, allocations: 0 / 0.5755 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.5716, allocations: 3.984 kB / 0.5755 GB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.5768, allocations: 2.181 MB / 0.5776 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.5769, allocations: 4.094 kB / 0.5776 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/0.5793, allocations: 275.8 kB / 0.5779 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.37e-05/0.5793, allocations: 11.98 kB / 0.5779 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-05/0.5794, allocations: 8 kB / 0.5779 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.5794, allocations: 8 kB / 0.5779 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.5795, allocations: 4 kB / 0.5779 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003305/0.5828, allocations: 1.714 MB / 0.5796 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.5832, allocations: 192.2 kB / 0.5798 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.5834, allocations: 4 kB / 0.5798 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5844, allocations: 39.97 kB / 0.5798 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.5846, allocations: 72.55 kB / 0.5799 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5847, allocations: 35.98 kB / 0.5799 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003717/0.5851, allocations: 231.1 kB / 0.5802 GB, free: 12.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00104/0.5862, allocations: 160 kB / 0.5803 GB, free: 12.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.0002418/0.5864, allocations: 119 kB / 0.5804 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.5884, allocations: 0.7119 MB / 0.5811 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5884, allocations: 0 / 0.5811 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.5895, allocations: 435.1 kB / 0.5815 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.5908, allocations: 81 kB / 0.5816 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.5962, allocations: 1.916 MB / 0.5835 GB, free: 8.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.5974, allocations: 1.025 MB / 0.5845 GB, free: 7.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5975, allocations: 0 / 0.5845 GB, free: 7.91 MB / 426.7 MB Notification: Performance of Templates: time 0.02021/0.6177, allocations: 8.646 MB / 0.5929 GB, free: 15.26 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches