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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009568/0.0009568, allocations: 113.8 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3219/0.3219, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3011, allocations: 60.81 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.04458/0.3457, allocations: 63.92 MB / 0.5688 GB, free: 8.609 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03078/0.3765, allocations: 13.08 MB / 0.5816 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01255/0.3891, allocations: 287.1 kB / 0.5819 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009686/0.3989, allocations: 4.017 MB / 0.5858 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007415/0.4064, allocations: 2.209 MB / 0.5879 GB, free: 12.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.4095, allocations: 1.076 MB / 0.589 GB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.4215, allocations: 9.4 MB / 0.5982 GB, free: 1.898 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007304/0.4288, allocations: 4.602 MB / 0.6027 GB, free: 13.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.4327, allocations: 2.02 MB / 0.6046 GB, free: 11.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.4375, allocations: 3.225 MB / 0.6078 GB, free: 7.969 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.4389, allocations: 324 kB / 0.6081 GB, free: 7.652 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.4425, allocations: 1.502 MB / 0.6096 GB, free: 6.148 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003111/0.4457, allocations: 2.618 MB / 0.6121 GB, free: 3.523 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004253/0.4499, allocations: 2.9 MB / 0.6149 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008877/0.4589, allocations: 9.057 MB / 0.6238 GB, free: 7.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4589, allocations: 4 kB / 0.6238 GB, free: 7.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4589, allocations: 0 / 0.6238 GB, free: 7.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002648/0.4592, allocations: 3.938 kB / 0.6238 GB, free: 7.512 MB / 442.7 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.01547/0.4746, allocations: 6.741 MB / 0.6304 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4747, allocations: 8.031 kB / 0.6304 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/0.5018, allocations: 3.293 MB / 0.6336 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.5123, allocations: 4.098 MB / 0.6376 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.5125, allocations: 316.3 kB / 0.6379 GB, free: 8.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.5141, allocations: 427.6 kB / 0.6383 GB, free: 8.492 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/0.5394, allocations: 13.83 MB / 0.6518 GB, free: 9.793 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000248/0.5396, allocations: 55.44 kB / 0.6519 GB, free: 9.738 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/0.541, allocations: 199.8 kB / 0.6521 GB, free: 9.543 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004044/0.5451, allocations: 2.523 MB / 0.6545 GB, free: 7.016 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/0.5694, allocations: 11.81 MB / 0.6661 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.284/0.8534, allocations: 53.71 MB / 0.7185 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/0.869, allocations: 5.923 MB / 0.7243 GB, free: 91.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004924/0.874, allocations: 3.587 MB / 0.7278 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02467/0.8987, allocations: 15.44 MB / 0.7429 GB, free: 82.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.8987, allocations: 58.88 kB / 0.7429 GB, free: 82.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 5.09e-06/0.8988, allocations: 0 / 0.7429 GB, free: 82.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.0861/0.9849, allocations: 28.6 MB / 0.7709 GB, free: 63.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.985, allocations: 265.3 kB / 0.7711 GB, free: 63.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/0.9908, allocations: 5.057 MB / 0.7761 GB, free: 58.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005831/0.9914, allocations: 69.7 kB / 0.7761 GB, free: 58.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.9932, allocations: 3.879 MB / 0.7799 GB, free: 54.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.9944, allocations: 1.004 MB / 0.7809 GB, free: 53.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/0.9961, allocations: 1.547 MB / 0.7824 GB, free: 51.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.9962, allocations: 301.1 kB / 0.7827 GB, free: 51.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/0.9994, allocations: 3.006 MB / 0.7856 GB, free: 48.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/1.005, allocations: 7.354 MB / 0.7928 GB, free: 39.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009849/1.014, allocations: 11.1 MB / 0.8036 GB, free: 25.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/1.015, allocations: 44 kB / 0.8037 GB, free: 25.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01771/1.032, allocations: 11.19 MB / 0.8146 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.032, allocations: 68 kB / 0.8147 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001595/1.033, allocations: 152 kB / 0.8148 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/1.036, allocations: 1.229 MB / 0.816 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006016/1.042, allocations: 1.833 MB / 0.8178 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007715/1.049, allocations: 7.767 MB / 0.8254 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005494/1.055, allocations: 427.4 kB / 0.8258 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.056, allocations: 461.8 kB / 0.8262 GB, free: 2.473 MB / 490.7 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.003865/1.06, allocations: 2.632 MB / 0.8288 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009998/1.061, allocations: 466.3 kB / 0.8293 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009516/1.07, allocations: 5.234 MB / 0.8344 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/1.07, allocations: 28 kB / 0.8344 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/1.071, allocations: 12 kB / 0.8344 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/1.071, allocations: 15.89 kB / 0.8344 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/1.093, allocations: 11.74 MB / 0.8459 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.093, allocations: 4.656 kB / 0.8459 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002714/1.096, allocations: 0.4992 MB / 0.8464 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/1.099, allocations: 0.9848 MB / 0.8473 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/1.099, allocations: 47.98 kB / 0.8474 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00849/1.108, allocations: 7.118 MB / 0.8543 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.108, allocations: 3.938 kB / 0.8543 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2833/1.391, allocations: 45.19 MB / 0.8985 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/1.392, allocations: 0.495 MB / 0.899 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006167/1.393, allocations: 42.06 kB / 0.899 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.395, allocations: 175.8 kB / 0.8992 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/1.395, allocations: 146.5 kB / 0.8993 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/1.395, allocations: 69.33 kB / 0.8994 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003898/1.399, allocations: 3.162 MB / 0.9025 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/1.399, allocations: 0 / 0.9025 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007843/1.407, allocations: 1.815 MB / 0.9042 GB, free: 151.6 MB / 0.5261 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.0007113/1.408, allocations: 189.8 kB / 0.9044 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.419, allocations: 7.305 MB / 0.9115 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.419, allocations: 0 / 0.9115 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00339/1.422, allocations: 2.563 MB / 0.914 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.425, allocations: 0.5586 MB / 0.9146 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/1.449, allocations: 17.47 MB / 0.9316 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005319/1.454, allocations: 4.192 MB / 0.9357 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006066/1.46, allocations: 2.413 MB / 0.9381 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.461, allocations: 334.7 kB / 0.9384 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.613e-06/1.461, allocations: 0 / 0.9384 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.09444/1.556, allocations: 62.28 MB / 0.9992 GB, free: 75.2 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches