Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000892/0.0008921, allocations: 190.8 kB / 7.807 MB, free: 2.488 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.005/1.005, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008015/0.0008015, allocations: 88.47 kB / 261.4 MB, free: 13.47 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.1477/0.1477, allocations: 43.48 MB / 352.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2012, allocations: 58.83 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.3226, allocations: 110.9 MB / 0.5737 GB, free: 4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.3229, allocations: 79.95 kB / 0.5738 GB, free: 3.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3869/0.7097, allocations: 107.5 MB / 0.6787 GB, free: 108.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002671/0.71, allocations: 111.1 kB / 0.6788 GB, free: 108.4 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01381/0.7238, allocations: 5.789 MB / 0.6845 GB, free: 105.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.7239, allocations: 7.844 kB / 0.6845 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02371/0.7476, allocations: 6.528 MB / 0.6909 GB, free: 104.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/0.7649, allocations: 7.159 MB / 0.6978 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.7652, allocations: 179 kB / 0.698 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/0.7675, allocations: 323.2 kB / 0.6983 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01473/0.7822, allocations: 8.364 MB / 0.7065 GB, free: 98.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.7995, allocations: 12.3 MB / 0.7185 GB, free: 86.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.7997, allocations: 75.31 kB / 0.7186 GB, free: 86.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005561/0.8003, allocations: 32 kB / 0.7186 GB, free: 86.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001279/0.8015, allocations: 1.456 MB / 0.72 GB, free: 85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/0.8506, allocations: 61.94 MB / 0.7805 GB, free: 21.31 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/0.8545, allocations: 4.228 MB / 0.7846 GB, free: 16.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/0.8573, allocations: 3.338 MB / 0.7879 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/0.8715, allocations: 13.18 MB / 0.8008 GB, free: 48 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/0.8717, allocations: 60.55 kB / 0.8008 GB, free: 15.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 9.097e-06/0.8717, allocations: 3.984 kB / 0.8008 GB, free: 15.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.04823/0.9199, allocations: 23.41 MB / 0.8237 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.92, allocations: 257.3 kB / 0.8239 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/0.9248, allocations: 3.931 MB / 0.8278 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.925, allocations: 29.7 kB / 0.8278 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.9269, allocations: 3.656 MB / 0.8314 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.1302/1.057, allocations: 0.9541 MB / 0.8323 GB, free: 184.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000868/1.058, allocations: 0 / 0.8323 GB, free: 184.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006269/1.059, allocations: 0.6249 MB / 0.8329 GB, free: 184.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00396/1.063, allocations: 2.517 MB / 0.8354 GB, free: 184.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005792/1.068, allocations: 6.993 MB / 0.8422 GB, free: 178.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00539/1.074, allocations: 4.166 MB / 0.8463 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001656/1.074, allocations: 49.59 kB / 0.8463 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01368/1.088, allocations: 8.926 MB / 0.855 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.088, allocations: 5.406 kB / 0.8551 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/1.088, allocations: 158 kB / 0.8552 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/1.089, allocations: 0.5934 MB / 0.8558 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/1.095, allocations: 1.763 MB / 0.8575 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004786/1.1, allocations: 5.322 MB / 0.8627 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005049/1.105, allocations: 226.3 kB / 0.8629 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.106, allocations: 454.7 kB / 0.8634 GB, free: 174.7 MB / 0.4948 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.001537/1.107, allocations: 0.5145 MB / 0.8639 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008335/1.108, allocations: 442.2 kB / 0.8643 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/1.114, allocations: 3.9 MB / 0.8681 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-05/1.114, allocations: 23.25 kB / 0.8681 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.114, allocations: 3.5 kB / 0.8681 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/1.114, allocations: 16.41 kB / 0.8681 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/1.13, allocations: 9.155 MB / 0.8771 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.13, allocations: 0.6562 kB / 0.8771 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/1.133, allocations: 445.9 kB / 0.8775 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009395/1.134, allocations: 342.4 kB / 0.8778 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/1.134, allocations: 7.328 kB / 0.8778 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00392/1.138, allocations: 4.649 MB / 0.8824 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.138, allocations: 0 / 0.8824 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008657/1.146, allocations: 7.132 MB / 0.8893 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/1.148, allocations: 0.7887 MB / 0.8901 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.149, allocations: 2.953 kB / 0.8901 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.152, allocations: 91.61 kB / 0.8902 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/1.152, allocations: 113.4 kB / 0.8903 GB, free: 162.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.152, allocations: 72.08 kB / 0.8904 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004733/1.157, allocations: 2.656 MB / 0.893 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006439/1.163, allocations: 1.107 MB / 0.894 GB, free: 161.9 MB / 0.4948 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.0005263/1.164, allocations: 150.9 kB / 0.8942 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007989/1.172, allocations: 6.212 MB / 0.9003 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.172, allocations: 192 / 0.9003 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/1.174, allocations: 2.143 MB / 0.9023 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.177, allocations: 460.4 kB / 0.9028 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/1.193, allocations: 10.2 MB / 0.9127 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004575/1.197, allocations: 4.581 MB / 0.9172 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/1.197, allocations: 4 kB / 0.9172 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.07125/1.269, allocations: 47.96 MB / 0.9641 GB, free: 102.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches