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.0009263/0.0009268, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009328/0.0009327, allocations: 183.8 kB / 16.92 MB, free: 6.934 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.8/1.8, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4587/0.4587, allocations: 43.56 MB / 314.9 MB, free: 9.051 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.0005453/0.0005454, allocations: 19.98 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1671, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3368/0.5039, allocations: 62.36 MB / 0.494 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03544/0.5394, allocations: 13.02 MB / 0.5067 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01631/0.5557, allocations: 279.7 kB / 0.5069 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.5584, allocations: 0.5473 MB / 0.5075 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008011/0.5665, allocations: 2.224 MB / 0.5096 GB, free: 144 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.5698, allocations: 1.065 MB / 0.5107 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01566/0.5855, allocations: 8.888 MB / 0.5194 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.5999, allocations: 6.259 MB / 0.5255 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00618/0.6062, allocations: 1.713 MB / 0.5271 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008074/0.6143, allocations: 2.867 MB / 0.5299 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.6163, allocations: 204 kB / 0.5301 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005694/0.622, allocations: 1.369 MB / 0.5315 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005197/0.6273, allocations: 2.438 MB / 0.5339 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007514/0.6348, allocations: 2.703 MB / 0.5365 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.6539, allocations: 8.813 MB / 0.5451 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.6539, allocations: 0 / 0.5451 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.654, allocations: 0 / 0.5451 GB, free: 7.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000457/0.6544, allocations: 0 / 0.5451 GB, free: 7.754 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.01989/0.6743, allocations: 5.611 MB / 0.5506 GB, free: 2.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.341e-05/0.6744, allocations: 8.031 kB / 0.5506 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03006/0.7045, allocations: 3.371 MB / 0.5539 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.7156, allocations: 4.199 MB / 0.558 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003858/0.716, allocations: 308.5 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.718, allocations: 435.5 kB / 0.5587 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/0.7546, allocations: 13.84 MB / 0.5722 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002243/0.7549, allocations: 51.53 kB / 0.5723 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000735/0.7557, allocations: 211.8 kB / 0.5725 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004267/0.7599, allocations: 2.523 MB / 0.5749 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/0.7872, allocations: 11.83 MB / 0.5865 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3446/1.132, allocations: 53.78 MB / 0.639 GB, free: 107.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/1.147, allocations: 5.914 MB / 0.6448 GB, free: 107.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004246/1.151, allocations: 3.59 MB / 0.6483 GB, free: 107.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/1.173, allocations: 15.45 MB / 0.6634 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/1.173, allocations: 66.31 kB / 0.6634 GB, free: 100.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 6.141e-06/1.173, allocations: 0 / 0.6634 GB, free: 100.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.0892/1.262, allocations: 28.71 MB / 0.6915 GB, free: 90.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/1.262, allocations: 267.5 kB / 0.6917 GB, free: 90.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/1.27, allocations: 5.088 MB / 0.6967 GB, free: 88.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005836/1.27, allocations: 61.45 kB / 0.6967 GB, free: 88.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002361/1.273, allocations: 3.893 MB / 0.7005 GB, free: 85.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001237/1.274, allocations: 1.006 MB / 0.7015 GB, free: 85.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007923/1.275, allocations: 0.66 MB / 0.7022 GB, free: 84.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.272e-05/1.275, allocations: 307.4 kB / 0.7025 GB, free: 84.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/1.279, allocations: 3.01 MB / 0.7054 GB, free: 82.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/1.285, allocations: 7.339 MB / 0.7126 GB, free: 73.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.295, allocations: 11.1 MB / 0.7234 GB, free: 60.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/1.295, allocations: 40 kB / 0.7234 GB, free: 60.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01879/1.314, allocations: 11.2 MB / 0.7344 GB, free: 49.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/1.314, allocations: 68 kB / 0.7345 GB, free: 49.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/1.314, allocations: 152 kB / 0.7346 GB, free: 49.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/1.317, allocations: 1.226 MB / 0.7358 GB, free: 47.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006276/1.324, allocations: 1.821 MB / 0.7376 GB, free: 46.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/1.332, allocations: 7.79 MB / 0.7452 GB, free: 38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006505/1.338, allocations: 438.4 kB / 0.7456 GB, free: 37.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/1.34, allocations: 452 kB / 0.746 GB, free: 37.13 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.005071/1.345, allocations: 2.633 MB / 0.7486 GB, free: 34.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.346, allocations: 462 kB / 0.749 GB, free: 34.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008028/1.354, allocations: 5.234 MB / 0.7542 GB, free: 28.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.552e-05/1.354, allocations: 32 kB / 0.7542 GB, free: 28.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.354, allocations: 7.938 kB / 0.7542 GB, free: 28.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/1.354, allocations: 15.95 kB / 0.7542 GB, free: 28.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.372, allocations: 11.76 MB / 0.7657 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/1.372, allocations: 4 kB / 0.7657 GB, free: 16.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/1.375, allocations: 0.4953 MB / 0.7662 GB, free: 16.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/1.377, allocations: 0.9856 MB / 0.7671 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/1.377, allocations: 51.92 kB / 0.7672 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006887/1.384, allocations: 7.111 MB / 0.7741 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.384, allocations: 5.984 kB / 0.7741 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.396, allocations: 8.726 MB / 0.7827 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/1.398, allocations: 0.8893 MB / 0.7835 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007587/1.399, allocations: 39.98 kB / 0.7836 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.401, allocations: 183.8 kB / 0.7837 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/1.401, allocations: 156.8 kB / 0.7839 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.402, allocations: 70.67 kB / 0.784 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005487/1.407, allocations: 3.178 MB / 0.7871 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/1.407, allocations: 4 kB / 0.7871 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007688/1.415, allocations: 1.374 MB / 0.7884 GB, free: 9.348 MB / 0.4981 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.0005288/1.415, allocations: 191.4 kB / 0.7886 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.427, allocations: 7.306 MB / 0.7957 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.427, allocations: 0 / 0.7957 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003573/1.431, allocations: 2.554 MB / 0.7982 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/1.435, allocations: 0.5673 MB / 0.7988 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/1.464, allocations: 15.67 MB / 0.8141 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/1.475, allocations: 4.113 MB / 0.8181 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01499/1.49, allocations: 2.368 MB / 0.8204 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00265/1.493, allocations: 323.4 kB / 0.8207 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of SimCode: time 2.084e-06/1.493, allocations: 0 / 0.8207 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of Templates: time 0.3636/1.857, allocations: 49.51 MB / 0.8691 GB, free: 160.6 MB / 0.5294 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