Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 209.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.286, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01627/0.3022, allocations: 13.01 MB / 0.5745 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3124, allocations: 4.805 MB / 0.5792 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.3141, allocations: 115.4 kB / 0.5793 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00746/0.3216, allocations: 3.905 MB / 0.5831 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00608/0.3277, allocations: 2.408 MB / 0.5855 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.3302, allocations: 1.158 MB / 0.5866 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009049/0.3393, allocations: 6.598 MB / 0.5931 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004762/0.3441, allocations: 3.794 MB / 0.5968 GB, free: 232 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/0.3476, allocations: 2.231 MB / 0.599 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004734/0.3523, allocations: 3.26 MB / 0.6021 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.3535, allocations: 460 kB / 0.6026 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.3566, allocations: 1.451 MB / 0.604 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002997/0.3596, allocations: 2.797 MB / 0.6067 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.3626, allocations: 2.245 MB / 0.6089 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.3735, allocations: 9.479 MB / 0.6182 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3735, allocations: 0 / 0.6182 GB, free: 10.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3735, allocations: 0 / 0.6182 GB, free: 10.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002409/0.3738, allocations: 0 / 0.6182 GB, free: 10.23 MB / 462.1 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.01642/0.3902, allocations: 6.832 MB / 0.6248 GB, free: 3.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.3902, allocations: 8.031 kB / 0.6249 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02715/0.4174, allocations: 3.333 MB / 0.6281 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.4284, allocations: 4.082 MB / 0.6321 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.4287, allocations: 311 kB / 0.6324 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/0.4301, allocations: 427.8 kB / 0.6328 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/0.4575, allocations: 14.05 MB / 0.6465 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.4577, allocations: 63.5 kB / 0.6466 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/0.4582, allocations: 199.8 kB / 0.6468 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00434/0.4626, allocations: 2.531 MB / 0.6492 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/0.4885, allocations: 11.78 MB / 0.6608 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07192/0.5604, allocations: 49.5 MB / 0.7091 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/0.5775, allocations: 5.22 MB / 0.7142 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/0.5826, allocations: 3.275 MB / 0.7174 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/0.6078, allocations: 12.7 MB / 0.7298 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.6079, allocations: 56.56 kB / 0.7298 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 6.993e-06/0.6079, allocations: 0 / 0.7298 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3351/0.9429, allocations: 28.73 MB / 0.7579 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.943, allocations: 265.3 kB / 0.7582 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.9482, allocations: 4.763 MB / 0.7628 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005508/0.9487, allocations: 65.7 kB / 0.7629 GB, free: 143 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.9506, allocations: 4.081 MB / 0.7669 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008118/0.9514, allocations: 1.052 MB / 0.7679 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.953, allocations: 1.544 MB / 0.7694 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.9531, allocations: 301.1 kB / 0.7697 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/0.9563, allocations: 3.013 MB / 0.7726 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004536/0.9609, allocations: 7.44 MB / 0.7799 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009242/0.9701, allocations: 11.1 MB / 0.7907 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/0.9703, allocations: 40 kB / 0.7908 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01812/0.9884, allocations: 11.14 MB / 0.8017 GB, free: 99.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.026e-05/0.9885, allocations: 78.75 kB / 0.8017 GB, free: 99.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.9886, allocations: 152 kB / 0.8019 GB, free: 98.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/0.9915, allocations: 1.227 MB / 0.8031 GB, free: 97.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006112/0.9976, allocations: 1.832 MB / 0.8049 GB, free: 95.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008007/1.006, allocations: 8.031 MB / 0.8127 GB, free: 87.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00597/1.012, allocations: 427.5 kB / 0.8131 GB, free: 87.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/1.013, allocations: 455.9 kB / 0.8135 GB, free: 86.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (951): * Single equations (assignments): 946 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004933/1.018, allocations: 2.63 MB / 0.8161 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.019, allocations: 445 kB / 0.8165 GB, free: 83.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008999/1.028, allocations: 5.191 MB / 0.8216 GB, free: 78.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.435e-05/1.028, allocations: 11.95 kB / 0.8216 GB, free: 78.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.028, allocations: 0 / 0.8216 GB, free: 78.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.029, allocations: 400.9 kB / 0.822 GB, free: 78.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.03, allocations: 40 kB / 0.822 GB, free: 77.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.033, allocations: 175.6 kB / 0.8222 GB, free: 77.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005458/1.033, allocations: 178.6 kB / 0.8224 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009728/1.043, allocations: 5.722 MB / 0.828 GB, free: 71.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008601/1.052, allocations: 7.795 MB / 0.8356 GB, free: 64.08 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002078/1.054, allocations: 1.954 MB / 0.8375 GB, free: 62.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004093/1.058, allocations: 2.777 MB / 0.8402 GB, free: 59.35 MB / 0.5606 GB Notification: Performance of Backend: time 7.52e-07/1.058, allocations: 4 kB / 0.8402 GB, free: 59.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009739/1.068, allocations: 5.415 MB / 0.8455 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01736/1.085, allocations: 12.06 MB / 0.8573 GB, free: 41.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.1085/1.194, allocations: 70.98 MB / 0.9266 GB, free: 3.539 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.768653037004697]