Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [: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.001787/0.001786, allocations: 175.8 kB / 8.148 MB, free: 2.184 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.744/1.744, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001286/0.001285, allocations: 89.28 kB / 261.8 MB, free: 13.63 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.2605/0.2605, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.141e-05, allocations: 8 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2989, allocations: 58.83 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.4859, allocations: 105.6 MB / 0.5685 GB, free: 9.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.4862, allocations: 71.97 kB / 0.5686 GB, free: 9.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2883/0.7746, allocations: 68.71 MB / 0.6357 GB, free: 4.074 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002265/0.7748, allocations: 79.98 kB / 0.6357 GB, free: 3.996 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01475/0.7896, allocations: 3.63 MB / 0.6393 GB, free: 304 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.7897, allocations: 8.031 kB / 0.6393 GB, free: 296 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.24/1.03, allocations: 1.702 MB / 0.6409 GB, free: 65.39 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006627/1.036, allocations: 2.084 MB / 0.643 GB, free: 65.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/1.037, allocations: 131.3 kB / 0.6431 GB, free: 65.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/1.039, allocations: 236.6 kB / 0.6433 GB, free: 65.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01527/1.054, allocations: 6.196 MB / 0.6494 GB, free: 65.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02326/1.077, allocations: 9.261 MB / 0.6584 GB, free: 62.63 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/1.078, allocations: 53.34 kB / 0.6585 GB, free: 62.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/1.08, allocations: 27.34 kB / 0.6585 GB, free: 62.63 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/1.082, allocations: 1.125 MB / 0.6596 GB, free: 62.62 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06578/1.148, allocations: 44.67 MB / 0.7032 GB, free: 36.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006016/1.154, allocations: 3.331 MB / 0.7065 GB, free: 35.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/1.158, allocations: 2.287 MB / 0.7087 GB, free: 35.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009166/1.159, allocations: 0.7203 MB / 0.7094 GB, free: 35.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/1.159, allocations: 65.31 kB / 0.7095 GB, free: 35.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 5.631e-06/1.159, allocations: 0 / 0.7095 GB, free: 35.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.08391/1.243, allocations: 23.18 MB / 0.7321 GB, free: 30.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/1.243, allocations: 209.2 kB / 0.7323 GB, free: 30.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/1.248, allocations: 2.53 MB / 0.7348 GB, free: 29.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005935/1.249, allocations: 25.7 kB / 0.7348 GB, free: 29.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.251, allocations: 2.756 MB / 0.7375 GB, free: 26.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.252, allocations: 0.8528 MB / 0.7383 GB, free: 26.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007385/1.253, allocations: 0 / 0.7383 GB, free: 26.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004107/1.253, allocations: 0.5728 MB / 0.7389 GB, free: 25.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007665/1.261, allocations: 2.612 MB / 0.7414 GB, free: 24.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01157/1.273, allocations: 6.149 MB / 0.7475 GB, free: 19.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/1.289, allocations: 4.165 MB / 0.7515 GB, free: 17.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/1.289, allocations: 35.31 kB / 0.7516 GB, free: 17.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.04/1.329, allocations: 8.924 MB / 0.7603 GB, free: 14.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.329, allocations: 5.062 kB / 0.7603 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004556/1.33, allocations: 126.7 kB / 0.7604 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007933/1.337, allocations: 1.107 MB / 0.7615 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/1.348, allocations: 1.446 MB / 0.7629 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009269/1.358, allocations: 5.147 MB / 0.7679 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006588/1.364, allocations: 189.9 kB / 0.7681 GB, free: 7.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.366, allocations: 391.8 kB / 0.7685 GB, free: 6.836 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (777): * Single equations (assignments): 770 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 8,(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002597/1.369, allocations: 359.1 kB / 0.7688 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.37, allocations: 288.2 kB / 0.7691 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.387, allocations: 4.875 MB / 0.7738 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/1.387, allocations: 24 kB / 0.7739 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/1.387, allocations: 4 kB / 0.7739 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.11e-05/1.387, allocations: 11.11 kB / 0.7739 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03474/1.422, allocations: 10.27 MB / 0.7839 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/1.422, allocations: 4 kB / 0.7839 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004756/1.427, allocations: 377 kB / 0.7843 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/1.432, allocations: 0.9299 MB / 0.7852 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006182/1.433, allocations: 16.73 kB / 0.7852 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008025/1.441, allocations: 4.374 MB / 0.7895 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.441, allocations: 8 kB / 0.7895 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02524/1.466, allocations: 8.596 MB / 0.7979 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002877/1.469, allocations: 0.7509 MB / 0.7986 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.47, allocations: 4 kB / 0.7986 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/1.474, allocations: 63.91 kB / 0.7987 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007362/1.475, allocations: 118.1 kB / 0.7988 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003604/1.475, allocations: 71.98 kB / 0.7989 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00439/1.48, allocations: 1.653 MB / 0.8005 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007036/1.487, allocations: 0.8795 MB / 0.8013 GB, free: 8.703 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 193 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008121/1.487, allocations: 167.2 kB / 0.8015 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02054/1.508, allocations: 6.897 MB / 0.8082 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.508, allocations: 0 / 0.8082 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/1.518, allocations: 2.925 MB / 0.8111 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.521, allocations: 225.2 kB / 0.8113 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/1.549, allocations: 8.685 MB / 0.8198 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008689/1.558, allocations: 3.425 MB / 0.8231 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/1.558, allocations: 0 / 0.8231 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.4807/2.039, allocations: 121.6 MB / 0.9419 GB, free: 75.68 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches