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.001877/0.001877, allocations: 94.36 kB / 16.98 MB, free: 5.938 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.002295/0.002295, allocations: 186 kB / 17.88 MB, free: 5.594 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.467/1.467, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005148, allocations: 8.562 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1589, allocations: 61.92 MB / 471.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.342/0.501, allocations: 54.69 MB / 0.5138 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03212/0.5332, allocations: 12.99 MB / 0.5265 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01981/0.553, allocations: 279.1 kB / 0.5268 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.5659, allocations: 2.706 MB / 0.5294 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0328/0.5987, allocations: 7.834 MB / 0.5371 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.6036, allocations: 0.9838 MB / 0.538 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06912/0.6727, allocations: 48.78 MB / 0.5857 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/0.6836, allocations: 5.544 MB / 0.5911 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.6874, allocations: 1.491 MB / 0.5925 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.6912, allocations: 2.01 MB / 0.5945 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.6924, allocations: 204 kB / 0.5947 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.6959, allocations: 1.139 MB / 0.5958 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00362/0.6995, allocations: 2.202 MB / 0.5979 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.7018, allocations: 1.104 MB / 0.599 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.712, allocations: 7.521 MB / 0.6064 GB, free: 9.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7121, allocations: 0 / 0.6064 GB, free: 9.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7121, allocations: 0 / 0.6064 GB, free: 9.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004421/0.7125, allocations: 0 / 0.6064 GB, free: 9.531 MB / 446.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.02104/0.7336, allocations: 6.087 MB / 0.6123 GB, free: 3.363 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.7337, allocations: 12.03 kB / 0.6123 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1757/0.9094, allocations: 14.68 MB / 0.6267 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.9216, allocations: 4.193 MB / 0.6308 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.922, allocations: 319.9 kB / 0.6311 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.924, allocations: 423.6 kB / 0.6315 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03226/0.9562, allocations: 13.88 MB / 0.645 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003674/0.9567, allocations: 63.38 kB / 0.6451 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/0.9583, allocations: 203.8 kB / 0.6453 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004427/0.9628, allocations: 2.523 MB / 0.6477 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02505/0.9878, allocations: 11.76 MB / 0.6592 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3708/1.359, allocations: 53.31 MB / 0.7113 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01871/1.377, allocations: 5.828 MB / 0.717 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02292/1.4, allocations: 14.95 MB / 0.7316 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.401, allocations: 55.67 kB / 0.7316 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 5.992e-06/1.401, allocations: 0 / 0.7316 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=264): time 0.07868/1.479, allocations: 26.58 MB / 0.7576 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.479, allocations: 257.3 kB / 0.7578 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007262/1.487, allocations: 5.292 MB / 0.763 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005245/1.487, allocations: 65.7 kB / 0.7631 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002453/1.49, allocations: 3.96 MB / 0.7669 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.491, allocations: 0.9919 MB / 0.7679 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/1.491, allocations: 144 kB / 0.768 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000286/1.492, allocations: 0.6122 MB / 0.7686 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/1.495, allocations: 2.7 MB / 0.7713 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004831/1.5, allocations: 7.019 MB / 0.7781 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005106/1.505, allocations: 4.241 MB / 0.7823 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.212e-05/1.505, allocations: 44 kB / 0.7823 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.0148/1.52, allocations: 10.04 MB / 0.7921 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.52, allocations: 68 kB / 0.7922 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.52, allocations: 152 kB / 0.7923 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/1.522, allocations: 0.7357 MB / 0.793 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005521/1.527, allocations: 1.774 MB / 0.7948 GB, free: 98.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00594/1.533, allocations: 6.458 MB / 0.8011 GB, free: 91.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005259/1.538, allocations: 411.4 kB / 0.8015 GB, free: 91.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008554/1.539, allocations: 442.2 kB / 0.8019 GB, free: 90.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004174/1.544, allocations: 2.642 MB / 0.8045 GB, free: 88.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.545, allocations: 466 kB / 0.8049 GB, free: 87.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007121/1.552, allocations: 4.364 MB / 0.8092 GB, free: 83.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.694e-05/1.552, allocations: 28 kB / 0.8092 GB, free: 83.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/1.552, allocations: 7.984 kB / 0.8092 GB, free: 83.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/1.552, allocations: 7.969 kB / 0.8092 GB, free: 83.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02134/1.573, allocations: 10.86 MB / 0.8198 GB, free: 72.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.573, allocations: 0 / 0.8198 GB, free: 72.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.576, allocations: 0.4953 MB / 0.8203 GB, free: 72.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/1.577, allocations: 486.2 kB / 0.8208 GB, free: 71.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/1.577, allocations: 51.92 kB / 0.8208 GB, free: 71.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005619/1.583, allocations: 5.815 MB / 0.8265 GB, free: 65.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.583, allocations: 5.5 kB / 0.8265 GB, free: 65.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009716/1.593, allocations: 7.681 MB / 0.834 GB, free: 57.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.595, allocations: 0.5067 MB / 0.8345 GB, free: 57.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/1.596, allocations: 48.22 kB / 0.8345 GB, free: 57.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/1.599, allocations: 163.8 kB / 0.8347 GB, free: 56.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/1.599, allocations: 149.7 kB / 0.8348 GB, free: 56.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.599, allocations: 71.98 kB / 0.8349 GB, free: 56.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005799/1.605, allocations: 3.348 MB / 0.8382 GB, free: 53.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/1.605, allocations: 3.938 kB / 0.8382 GB, free: 53.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007539/1.613, allocations: 1.318 MB / 0.8395 GB, free: 52.08 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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008772/1.614, allocations: 202.8 kB / 0.8397 GB, free: 51.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.624, allocations: 6.74 MB / 0.8462 GB, free: 45.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.624, allocations: 2.625 kB / 0.8462 GB, free: 45.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003041/1.627, allocations: 2.371 MB / 0.8486 GB, free: 42.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.631, allocations: 0.5603 MB / 0.8491 GB, free: 42.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/1.653, allocations: 14.57 MB / 0.8633 GB, free: 27.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00574/1.659, allocations: 4.222 MB / 0.8675 GB, free: 23.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007437/1.667, allocations: 2.385 MB / 0.8698 GB, free: 20.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/1.668, allocations: 323.4 kB / 0.8701 GB, free: 20.62 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.668, allocations: 0 / 0.8701 GB, free: 20.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.08954/1.758, allocations: 46.73 MB / 0.9157 GB, free: 6.176 MB / 0.5606 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/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