Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") [: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.00164/0.00164, allocations: 182.1 kB / 8.146 MB, free: 0.8672 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.2 MB / 213.7 MB, free: 8.602 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 93.59 kB / 261.8 MB, free: 5.133 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2594/0.2594, allocations: 43.48 MB / 353.2 MB, free: 11.44 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.806e-06, allocations: 0 / 417.7 MB, free: 68.61 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09608, allocations: 58.84 MB / 476.5 MB, free: 9.707 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4773, allocations: 110.9 MB / 0.5737 GB, free: 2.219 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.4776, allocations: 77.39 kB / 0.5738 GB, free: 2.18 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.4655/0.9431, allocations: 107.5 MB / 0.6787 GB, free: 14.37 MB / 498.8 MB Notification: Performance of Transformations before backend: time 0.0004303/0.9436, allocations: 108 kB / 0.6788 GB, free: 14.26 MB / 498.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02591/0.9695, allocations: 5.787 MB / 0.6845 GB, free: 8.402 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.9696, allocations: 8.031 kB / 0.6845 GB, free: 8.395 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04986/1.019, allocations: 6.528 MB / 0.6908 GB, free: 1.848 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2543/1.274, allocations: 7.16 MB / 0.6978 GB, free: 71.08 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/1.274, allocations: 177.6 kB / 0.698 GB, free: 71.08 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/1.277, allocations: 327.2 kB / 0.6983 GB, free: 71.07 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02061/1.297, allocations: 8.368 MB / 0.7065 GB, free: 71.04 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02978/1.327, allocations: 12.29 MB / 0.7185 GB, free: 67.97 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000308/1.328, allocations: 72.52 kB / 0.7186 GB, free: 67.97 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/1.329, allocations: 37.47 kB / 0.7186 GB, free: 67.97 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/1.332, allocations: 1.45 MB / 0.72 GB, free: 67.96 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09438/1.427, allocations: 61.95 MB / 0.7805 GB, free: 31.8 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008139/1.435, allocations: 4.237 MB / 0.7846 GB, free: 29.65 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006567/1.441, allocations: 3.333 MB / 0.7879 GB, free: 28.18 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02927/1.471, allocations: 13.18 MB / 0.8008 GB, free: 21.24 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.471, allocations: 59.44 kB / 0.8008 GB, free: 21.19 MB / 498.8 MB Notification: Performance of pre-optimization done (n=227): time 6.172e-06/1.471, allocations: 0 / 0.8008 GB, free: 21.19 MB / 498.8 MB Notification: Performance of matching and sorting (n=265): time 0.09626/1.567, allocations: 23.4 MB / 0.8237 GB, free: 11.91 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/1.567, allocations: 264.8 kB / 0.8239 GB, free: 11.62 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.578, allocations: 3.929 MB / 0.8278 GB, free: 10.14 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006403/1.579, allocations: 25.7 kB / 0.8278 GB, free: 10.11 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002849/1.582, allocations: 3.548 MB / 0.8313 GB, free: 7.312 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.584, allocations: 0.9606 MB / 0.8322 GB, free: 6.602 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/1.585, allocations: 0.7812 kB / 0.8322 GB, free: 6.602 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0009063/1.586, allocations: 0.63 MB / 0.8328 GB, free: 6.152 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007715/1.594, allocations: 2.517 MB / 0.8353 GB, free: 5.285 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/1.605, allocations: 6.993 MB / 0.8421 GB, free: 14.13 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.616, allocations: 4.184 MB / 0.8462 GB, free: 10.55 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002156/1.616, allocations: 44 kB / 0.8462 GB, free: 10.51 MB / 0.5027 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.02899/1.645, allocations: 8.763 MB / 0.8548 GB, free: 2.809 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.646, allocations: 4 kB / 0.8548 GB, free: 2.805 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002997/1.646, allocations: 160 kB / 0.8549 GB, free: 2.648 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/1.648, allocations: 0.5758 MB / 0.8555 GB, free: 2.148 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/1.661, allocations: 1.771 MB / 0.8572 GB, free: 0.5977 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.671, allocations: 5.355 MB / 0.8625 GB, free: 11.52 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007556/1.679, allocations: 225.6 kB / 0.8627 GB, free: 11.33 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/1.681, allocations: 463 kB / 0.8631 GB, free: 10.88 MB / 0.5183 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (947): * Single equations (assignments): 942 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001671/1.683, allocations: 447.2 kB / 0.8635 GB, free: 10.44 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.684, allocations: 442.2 kB / 0.864 GB, free: 10.01 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.696, allocations: 3.895 MB / 0.8678 GB, free: 6.73 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/1.696, allocations: 24 kB / 0.8678 GB, free: 6.707 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/1.696, allocations: 4 kB / 0.8678 GB, free: 6.703 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/1.696, allocations: 15.11 kB / 0.8678 GB, free: 6.699 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.731, allocations: 9.336 MB / 0.8769 GB, free: 15.7 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.731, allocations: 4 kB / 0.8769 GB, free: 15.7 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005068/1.736, allocations: 446.5 kB / 0.8774 GB, free: 15.34 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/1.738, allocations: 341.7 kB / 0.8777 GB, free: 15.07 MB / 0.5339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/1.738, allocations: 13.78 kB / 0.8777 GB, free: 15.06 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008926/1.747, allocations: 4.628 MB / 0.8822 GB, free: 10.56 MB / 0.5339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.747, allocations: 0 / 0.8822 GB, free: 10.56 MB / 0.5339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0199/1.767, allocations: 7.138 MB / 0.8892 GB, free: 4.09 MB / 0.5339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003674/1.771, allocations: 0.7969 MB / 0.89 GB, free: 3.34 MB / 0.5339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/1.772, allocations: 0 / 0.89 GB, free: 3.34 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004602/1.777, allocations: 90.33 kB / 0.89 GB, free: 3.281 MB / 0.5339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008697/1.778, allocations: 122.8 kB / 0.8902 GB, free: 3.211 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000337/1.778, allocations: 69.77 kB / 0.8902 GB, free: 3.145 MB / 0.5339 GB Notification: Performance of sort global known variables: time 0.0085/1.787, allocations: 2.655 MB / 0.8928 GB, free: 0.8359 MB / 0.5339 GB Notification: Performance of remove unused functions: time 0.01234/1.799, allocations: 1.229 MB / 0.894 GB, free: 0 / 0.5339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1868/1.986, allocations: 159.7 kB / 0.8942 GB, free: 192.8 MB / 0.5339 GB Notification: Performance of simCode: created initialization part: time 0.01798/2.004, allocations: 6.201 MB / 0.9002 GB, free: 192.6 MB / 0.5339 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/2.004, allocations: 0 / 0.9002 GB, free: 192.6 MB / 0.5339 GB Notification: Performance of simCode: created simulation system equations: time 0.006208/2.01, allocations: 2.15 MB / 0.9023 GB, free: 192.4 MB / 0.5339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005411/2.016, allocations: 455.5 kB / 0.9028 GB, free: 192.4 MB / 0.5339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/2.053, allocations: 10.82 MB / 0.9133 GB, free: 190.5 MB / 0.5339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01288/2.066, allocations: 4.602 MB / 0.9178 GB, free: 189.7 MB / 0.5339 GB Notification: Performance of SimCode: time 1.754e-06/2.066, allocations: 0 / 0.9178 GB, free: 189.7 MB / 0.5339 GB Notification: Performance of Templates: time 0.2244/2.29, allocations: 117 MB / 1.032 GB, free: 121.6 MB / 0.5339 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches