Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 184.6 kB / 7.808 MB, free: 2.492 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.003/1.003, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007822/0.0007822, allocations: 80.61 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.148/0.148, allocations: 43.5 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.949e-06/4.969e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2281, allocations: 58.84 MB / 476.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3351, allocations: 88.96 MB / 0.5523 GB, free: 10 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001669/0.3353, allocations: 63.97 kB / 0.5523 GB, free: 9.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0307/0.3661, allocations: 11.09 MB / 0.5631 GB, free: 14.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.3661, allocations: 20 kB / 0.5632 GB, free: 14.77 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.001317/0.3675, allocations: 0.8533 MB / 0.564 GB, free: 13.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3675, allocations: 16.03 kB / 0.564 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3676, allocations: 75.06 kB / 0.5641 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.3681, allocations: 367.2 kB / 0.5644 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.3681, allocations: 23.98 kB / 0.5645 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/0.3682, allocations: 32 kB / 0.5645 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006745/0.3689, allocations: 426.4 kB / 0.5649 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.3696, allocations: 493.3 kB / 0.5654 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.3696, allocations: 11.91 kB / 0.5654 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.3697, allocations: 4 kB / 0.5654 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3697, allocations: 12 kB / 0.5654 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.3724, allocations: 1.965 MB / 0.5673 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.373, allocations: 445.5 kB / 0.5677 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.3734, allocations: 266.2 kB / 0.568 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.3735, allocations: 93.69 kB / 0.5681 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3736, allocations: 54.91 kB / 0.5681 GB, free: 9.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 1.933e-06/0.3736, allocations: 0 / 0.5681 GB, free: 9.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.004607/0.3782, allocations: 3.543 MB / 0.5716 GB, free: 5.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3783, allocations: 174.7 kB / 0.5718 GB, free: 5.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3786, allocations: 297.1 kB / 0.572 GB, free: 5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.3786, allocations: 25.7 kB / 0.5721 GB, free: 4.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.3787, allocations: 213 kB / 0.5723 GB, free: 4.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.3789, allocations: 398 kB / 0.5727 GB, free: 4.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.379, allocations: 0 / 0.5727 GB, free: 4.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3791, allocations: 382.8 kB / 0.573 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.3795, allocations: 250.6 kB / 0.5733 GB, free: 3.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.38, allocations: 434.5 kB / 0.5737 GB, free: 3.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.3805, allocations: 311.1 kB / 0.574 GB, free: 2.941 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3805, allocations: 4 kB / 0.574 GB, free: 2.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001137/0.3816, allocations: 0.8112 MB / 0.5748 GB, free: 2.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.3817, allocations: 8 kB / 0.5748 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3817, allocations: 4 kB / 0.5748 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3817, allocations: 12 kB / 0.5748 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.3828, allocations: 304 kB / 0.5751 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3828, allocations: 11.94 kB / 0.5751 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.3833, allocations: 39.97 kB / 0.5751 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.3833, allocations: 43.98 kB / 0.5752 GB, free: 1.703 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.0001398/0.3835, allocations: 138.1 kB / 0.5753 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.3837, allocations: 75.06 kB / 0.5754 GB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3841, allocations: 230.8 kB / 0.5756 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3841, allocations: 12 kB / 0.5756 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3841, allocations: 0 / 0.5756 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.3841, allocations: 7.984 kB / 0.5756 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.3869, allocations: 2.162 MB / 0.5777 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.3869, allocations: 8 kB / 0.5777 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.3881, allocations: 275.8 kB / 0.578 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.3881, allocations: 8 kB / 0.578 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.3882, allocations: 15.89 kB / 0.578 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/0.3882, allocations: 8 kB / 0.578 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3882, allocations: 4 kB / 0.578 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001748/0.3899, allocations: 1.703 MB / 0.5797 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.3902, allocations: 196.2 kB / 0.5799 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.376e-05/0.3903, allocations: 8 kB / 0.5799 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.3909, allocations: 43.86 kB / 0.5799 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.391, allocations: 80.48 kB / 0.58 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.3911, allocations: 31.98 kB / 0.58 GB, free: 12.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002015/0.3913, allocations: 223.2 kB / 0.5802 GB, free: 12.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007096/0.392, allocations: 160 kB / 0.5804 GB, free: 12.1 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.0001935/0.3922, allocations: 123 kB / 0.5805 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000966/0.3932, allocations: 0.7091 MB / 0.5812 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3932, allocations: 0 / 0.5812 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005439/0.3937, allocations: 434.7 kB / 0.5816 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.3945, allocations: 87.11 kB / 0.5817 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.3973, allocations: 1.882 MB / 0.5835 GB, free: 8.789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.398, allocations: 1.022 MB / 0.5845 GB, free: 7.742 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.398, allocations: 0 / 0.5845 GB, free: 7.742 MB / 426.7 MB Notification: Performance of Templates: time 0.01225/0.4103, allocations: 7.587 MB / 0.5919 GB, free: 200 kB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches