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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 110.1 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2428/0.2428, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 74.89 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01452/0.1468, allocations: 15.04 MB / 455.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.1589, allocations: 5.011 MB / 460.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003418/0.1623, allocations: 103.7 kB / 460.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00743/0.1698, allocations: 4.018 MB / 464.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006896/0.1767, allocations: 2.354 MB / 467 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.1795, allocations: 1.162 MB / 468.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009166/0.1887, allocations: 6.164 MB / 474.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006954/0.1957, allocations: 4.713 MB / 479.1 MB, free: 156 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.1999, allocations: 2.223 MB / 481.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004891/0.2048, allocations: 3.026 MB / 484.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.206, allocations: 456 kB / 484.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.2094, allocations: 1.537 MB / 486.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002757/0.2122, allocations: 2.724 MB / 489 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003724/0.2159, allocations: 3.018 MB / 492.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.2271, allocations: 9.178 MB / 0.4895 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.2271, allocations: 0 / 0.4895 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2271, allocations: 0 / 0.4895 GB, free: 9.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00032/0.2274, allocations: 0 / 0.4895 GB, free: 9.926 MB / 382.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.01908/0.2465, allocations: 6.76 MB / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.32e-05/0.2466, allocations: 12.03 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/0.2735, allocations: 3.297 MB / 0.4993 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.2867, allocations: 4.207 MB / 0.5034 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004649/0.2873, allocations: 312.3 kB / 0.5037 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/0.2899, allocations: 427.6 kB / 0.5041 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03965/0.3295, allocations: 13.81 MB / 0.5176 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/0.3298, allocations: 67.36 kB / 0.5177 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007831/0.3306, allocations: 199.8 kB / 0.5179 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004774/0.3354, allocations: 2.527 MB / 0.5203 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2959/0.6313, allocations: 11.79 MB / 0.5319 GB, free: 79.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06468/0.696, allocations: 53.75 MB / 0.5843 GB, free: 42.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/0.7113, allocations: 5.909 MB / 0.5901 GB, free: 36.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004137/0.7155, allocations: 3.599 MB / 0.5936 GB, free: 32.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/0.734, allocations: 15.43 MB / 0.6087 GB, free: 16.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.7341, allocations: 64.5 kB / 0.6088 GB, free: 16.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=230): time 4.849e-06/0.7341, allocations: 0 / 0.6088 GB, free: 16.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.0837/0.8178, allocations: 28.65 MB / 0.6367 GB, free: 3.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.818, allocations: 265.3 kB / 0.637 GB, free: 3.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/0.8258, allocations: 5.073 MB / 0.6419 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006913/0.8265, allocations: 69.7 kB / 0.642 GB, free: 14.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002842/0.8294, allocations: 3.89 MB / 0.6458 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/0.8309, allocations: 0.9986 MB / 0.6468 GB, free: 9.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002255/0.8331, allocations: 1.551 MB / 0.6483 GB, free: 7.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.8333, allocations: 305.1 kB / 0.6486 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/0.8376, allocations: 3.009 MB / 0.6515 GB, free: 4.594 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007782/0.8454, allocations: 7.344 MB / 0.6587 GB, free: 11.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/0.8586, allocations: 11.1 MB / 0.6695 GB, free: 13.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/0.8588, allocations: 40 kB / 0.6696 GB, free: 13.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02146/0.8803, allocations: 11.2 MB / 0.6805 GB, free: 2.664 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/0.8804, allocations: 68.22 kB / 0.6806 GB, free: 2.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/0.8805, allocations: 156 kB / 0.6807 GB, free: 2.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/0.8836, allocations: 1.228 MB / 0.6819 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006475/0.8901, allocations: 1.829 MB / 0.6837 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.9002, allocations: 8.375 MB / 0.6919 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006061/0.9063, allocations: 435.2 kB / 0.6923 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008031/0.9071, allocations: 452 kB / 0.6927 GB, free: 5.875 MB / 494.1 MB 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 (954): * Single equations (assignments): 949 * 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.004052/0.9112, allocations: 2.632 MB / 0.6953 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009899/0.9122, allocations: 466 kB / 0.6958 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00893/0.9211, allocations: 5.234 MB / 0.7009 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-05/0.9212, allocations: 31.98 kB / 0.7009 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/0.9212, allocations: 11.94 kB / 0.7009 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.9212, allocations: 11.95 kB / 0.7009 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/0.9414, allocations: 11.74 MB / 0.7124 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.9414, allocations: 0 / 0.7124 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002575/0.944, allocations: 0.4992 MB / 0.7129 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.9467, allocations: 0.9979 MB / 0.7138 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/0.947, allocations: 44 kB / 0.7139 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008732/0.9557, allocations: 7.698 MB / 0.7214 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9557, allocations: 0 / 0.7214 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2436/1.199, allocations: 8.734 MB / 0.7299 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.202, allocations: 0.8752 MB / 0.7308 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006306/1.202, allocations: 45.27 kB / 0.7308 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.204, allocations: 170.4 kB / 0.731 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004567/1.205, allocations: 151.5 kB / 0.7311 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.205, allocations: 69.11 kB / 0.7312 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005107/1.21, allocations: 3.18 MB / 0.7343 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.4e-07/1.21, allocations: 0 / 0.7343 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007323/1.218, allocations: 1.372 MB / 0.7357 GB, free: 175.5 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 222 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007601/1.218, allocations: 190.4 kB / 0.7358 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01844/1.237, allocations: 10.13 MB / 0.7457 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.237, allocations: 1.094 kB / 0.7457 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003938/1.241, allocations: 2.558 MB / 0.7482 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/1.245, allocations: 0.5854 MB / 0.7488 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.264, allocations: 12.93 MB / 0.7614 GB, free: 167.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004022/1.269, allocations: 4.111 MB / 0.7654 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005479/1.274, allocations: 2.369 MB / 0.7678 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.275, allocations: 322.6 kB / 0.7681 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of SimCode: time 2.264e-06/1.275, allocations: 0 / 0.7681 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.08648/1.362, allocations: 52.21 MB / 0.819 GB, free: 111.9 MB / 0.5137 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches