Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001233/0.001233, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001219/0.001219, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.17 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 69.28 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 60.81 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01574/0.1207, allocations: 15 MB / 484.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1309, allocations: 5.002 MB / 489.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.1335, allocations: 99.69 kB / 490 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007365/0.1409, allocations: 4.026 MB / 494 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006473/0.1474, allocations: 2.35 MB / 496.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.1501, allocations: 1.166 MB / 497.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00875/0.1589, allocations: 6.507 MB / 0.4922 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005973/0.1649, allocations: 4.694 MB / 0.4968 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.1687, allocations: 2.216 MB / 0.499 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/0.1732, allocations: 3.022 MB / 0.5019 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.1751, allocations: 456 kB / 0.5024 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.1795, allocations: 1.553 MB / 0.5039 GB, free: 80 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2225/0.402, allocations: 2.69 MB / 0.5065 GB, free: 20.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006655/0.4087, allocations: 3.011 MB / 0.5095 GB, free: 19.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.423, allocations: 9.176 MB / 0.5184 GB, free: 18.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.4231, allocations: 1.188 kB / 0.5184 GB, free: 18.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4231, allocations: 1.625 kB / 0.5184 GB, free: 18.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004389/0.4235, allocations: 0 / 0.5184 GB, free: 18.16 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.02437/0.4479, allocations: 6.754 MB / 0.525 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/0.448, allocations: 9.531 kB / 0.525 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/0.4769, allocations: 3.292 MB / 0.5282 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.4876, allocations: 4.096 MB / 0.5322 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.4878, allocations: 315.2 kB / 0.5326 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/0.4897, allocations: 428 kB / 0.533 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/0.5158, allocations: 13.81 MB / 0.5464 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/0.516, allocations: 65.41 kB / 0.5465 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009961/0.5171, allocations: 196.9 kB / 0.5467 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/0.5206, allocations: 2.525 MB / 0.5492 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/0.5469, allocations: 11.8 MB / 0.5607 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07902/0.626, allocations: 53.72 MB / 0.6132 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/0.6433, allocations: 5.902 MB / 0.6189 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005441/0.6487, allocations: 3.592 MB / 0.6224 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02781/0.6766, allocations: 15.45 MB / 0.6375 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/0.6767, allocations: 64.5 kB / 0.6376 GB, free: 5.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=230): time 6.242e-06/0.6767, allocations: 0 / 0.6376 GB, free: 5.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.1019/0.7786, allocations: 28.6 MB / 0.6655 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.7788, allocations: 259.7 kB / 0.6657 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/0.7903, allocations: 5.057 MB / 0.6707 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008749/0.7912, allocations: 76.92 kB / 0.6708 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003569/0.7948, allocations: 3.882 MB / 0.6745 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001845/0.7966, allocations: 0.9992 MB / 0.6755 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004107/0.8008, allocations: 1.546 MB / 0.677 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.8009, allocations: 309.1 kB / 0.6773 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00455/0.8054, allocations: 3.002 MB / 0.6803 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007882/0.8133, allocations: 7.345 MB / 0.6874 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/0.8271, allocations: 11.1 MB / 0.6983 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/0.8273, allocations: 44 kB / 0.6983 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.2831/1.11, allocations: 11.2 MB / 0.7093 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/1.111, allocations: 70.16 kB / 0.7093 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002978/1.111, allocations: 151.7 kB / 0.7095 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/1.114, allocations: 1.233 MB / 0.7107 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006885/1.121, allocations: 1.826 MB / 0.7125 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008617/1.13, allocations: 8.364 MB / 0.7206 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007223/1.137, allocations: 427.2 kB / 0.721 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/1.139, allocations: 452.3 kB / 0.7215 GB, free: 162.7 MB / 0.5294 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.006579/1.146, allocations: 2.633 MB / 0.724 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.147, allocations: 467.1 kB / 0.7245 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008221/1.155, allocations: 5.232 MB / 0.7296 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.301e-05/1.155, allocations: 27.53 kB / 0.7296 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.155, allocations: 6.844 kB / 0.7296 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/1.155, allocations: 15.28 kB / 0.7296 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/1.177, allocations: 11.74 MB / 0.7411 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.177, allocations: 4 kB / 0.7411 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.18, allocations: 0.494 MB / 0.7416 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/1.182, allocations: 0.9963 MB / 0.7426 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/1.183, allocations: 44 kB / 0.7426 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007141/1.19, allocations: 7.703 MB / 0.7501 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.19, allocations: 0 / 0.7501 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.201, allocations: 8.721 MB / 0.7586 GB, free: 136 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.202, allocations: 0.4913 MB / 0.7591 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.204, allocations: 51.94 kB / 0.7592 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/1.206, allocations: 177.8 kB / 0.7593 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.206, allocations: 141.4 kB / 0.7595 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.207, allocations: 75.3 kB / 0.7595 GB, free: 135 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004921/1.212, allocations: 3.162 MB / 0.7626 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.502e-06/1.212, allocations: 0 / 0.7626 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00788/1.22, allocations: 1.366 MB / 0.764 GB, free: 130.5 MB / 0.5294 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.0007251/1.22, allocations: 199.5 kB / 0.7642 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01598/1.236, allocations: 10.12 MB / 0.774 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.236, allocations: 0 / 0.774 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003391/1.24, allocations: 2.569 MB / 0.7766 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004598/1.244, allocations: 0.598 MB / 0.7771 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.266, allocations: 13.41 MB / 0.7902 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004694/1.271, allocations: 4.074 MB / 0.7942 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/1.273, allocations: 379.4 kB / 0.7946 GB, free: 99.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/1.273, allocations: 1.422 kB / 0.7946 GB, free: 99.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.3994/1.672, allocations: 124.6 MB / 0.9162 GB, free: 191.6 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches