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.001213/0.001213, allocations: 113.8 kB / 17.08 MB, free: 6.008 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.001383/0.001383, allocations: 199 kB / 18.01 MB, free: 5.086 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.48/1.48, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.226/0.226, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 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.002477/0.002477, allocations: 71.83 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1295, allocations: 57.78 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01593/0.1455, allocations: 15.05 MB / 0.5032 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.157, allocations: 5 MB / 0.5081 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.1603, allocations: 99.69 kB / 0.5082 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008071/0.1684, allocations: 4.03 MB / 0.5122 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007434/0.1758, allocations: 2.365 MB / 0.5145 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.1791, allocations: 1.158 MB / 0.5156 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.1892, allocations: 6.165 MB / 0.5216 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007409/0.1966, allocations: 4.701 MB / 0.5262 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.2012, allocations: 2.223 MB / 0.5284 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2655/0.4668, allocations: 3.028 MB / 0.5313 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002175/0.469, allocations: 461.8 kB / 0.5318 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.474, allocations: 1.539 MB / 0.5333 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005447/0.4794, allocations: 2.77 MB / 0.536 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009161/0.4886, allocations: 3.015 MB / 0.5389 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.5104, allocations: 9.462 MB / 0.5482 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5104, allocations: 0 / 0.5482 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5104, allocations: 2.203 kB / 0.5482 GB, free: 8.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005185/0.5109, allocations: 1 kB / 0.5482 GB, free: 8.277 MB / 414.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.02793/0.5389, allocations: 6.76 MB / 0.5548 GB, free: 5.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.539, allocations: 10.78 kB / 0.5548 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02794/0.5669, allocations: 3.298 MB / 0.558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/0.5786, allocations: 4.289 MB / 0.5622 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002893/0.5789, allocations: 309.7 kB / 0.5625 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.5814, allocations: 434.9 kB / 0.5629 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.6129, allocations: 13.81 MB / 0.5764 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.6132, allocations: 58.77 kB / 0.5765 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000828/0.614, allocations: 201.1 kB / 0.5766 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004065/0.6181, allocations: 2.524 MB / 0.5791 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03013/0.6482, allocations: 11.8 MB / 0.5906 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08815/0.7364, allocations: 53.49 MB / 0.6429 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/0.7544, allocations: 5.906 MB / 0.6486 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005803/0.7602, allocations: 3.602 MB / 0.6522 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03011/0.7904, allocations: 15.43 MB / 0.6672 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/0.7905, allocations: 67.27 kB / 0.6673 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=230): time 6.071e-06/0.7905, allocations: 0 / 0.6673 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.1024/0.8929, allocations: 28.65 MB / 0.6953 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.8931, allocations: 265.3 kB / 0.6955 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/0.9038, allocations: 5.089 MB / 0.7005 GB, free: 11.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009779/0.9048, allocations: 72.64 kB / 0.7006 GB, free: 11.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003931/0.9087, allocations: 3.887 MB / 0.7043 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/0.9108, allocations: 1.007 MB / 0.7053 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002848/0.9137, allocations: 1.539 MB / 0.7068 GB, free: 5.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9138, allocations: 305.1 kB / 0.7071 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004789/0.9186, allocations: 3.009 MB / 0.7101 GB, free: 1.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008032/0.9266, allocations: 7.35 MB / 0.7172 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/0.9408, allocations: 11.09 MB / 0.7281 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/0.941, allocations: 44 kB / 0.7281 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02289/0.9638, allocations: 11.2 MB / 0.7391 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/0.964, allocations: 72 kB / 0.7391 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.9641, allocations: 148.9 kB / 0.7393 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003032/0.9672, allocations: 1.236 MB / 0.7405 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006784/0.974, allocations: 1.829 MB / 0.7423 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.9841, allocations: 8.357 MB / 0.7504 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/0.9913, allocations: 427.4 kB / 0.7508 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/0.993, allocations: 448 kB / 0.7513 GB, free: 4.117 MB / 0.5919 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 (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.005824/0.9988, allocations: 2.638 MB / 0.7538 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/0.9999, allocations: 469.9 kB / 0.7543 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3442/1.344, allocations: 5.23 MB / 0.7594 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.102e-05/1.344, allocations: 28.78 kB / 0.7594 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.06e-05/1.344, allocations: 5.656 kB / 0.7594 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.226e-05/1.344, allocations: 15.23 kB / 0.7594 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04888/1.393, allocations: 11.65 MB / 0.7708 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.674e-05/1.393, allocations: 2.75 kB / 0.7708 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006116/1.4, allocations: 0.4925 MB / 0.7713 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005985/1.406, allocations: 0.9897 MB / 0.7723 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008671/1.406, allocations: 45.69 kB / 0.7723 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/1.421, allocations: 7.701 MB / 0.7798 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.421, allocations: 0 / 0.7798 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02392/1.445, allocations: 8.738 MB / 0.7884 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004525/1.45, allocations: 0.8802 MB / 0.7892 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002073/1.452, allocations: 38.44 kB / 0.7893 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00566/1.458, allocations: 178.2 kB / 0.7894 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009963/1.459, allocations: 140.9 kB / 0.7896 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004148/1.459, allocations: 79.84 kB / 0.7896 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009735/1.469, allocations: 3.18 MB / 0.7927 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.22e-07/1.469, allocations: 0 / 0.7927 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01372/1.483, allocations: 1.377 MB / 0.7941 GB, free: 194.7 MB / 0.5919 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.001359/1.484, allocations: 186.9 kB / 0.7943 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0188/1.503, allocations: 7.335 MB / 0.8014 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.503, allocations: 0 / 0.8014 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006081/1.509, allocations: 2.56 MB / 0.8039 GB, free: 185 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007496/1.517, allocations: 0.6034 MB / 0.8045 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04174/1.558, allocations: 13.29 MB / 0.8175 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/1.569, allocations: 4.084 MB / 0.8215 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002817/1.572, allocations: 379.4 kB / 0.8218 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.014e-06/1.572, allocations: 0 / 0.8218 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.3362/1.908, allocations: 126.4 MB / 0.9453 GB, free: 40.2 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/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