Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001357, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 79.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 62.44 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01492/0.1195, allocations: 14.95 MB / 496.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009317/0.1289, allocations: 5.014 MB / 0.4897 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.1303, allocations: 103.7 kB / 0.4898 GB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006323/0.1367, allocations: 4.014 MB / 0.4937 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.1425, allocations: 2.319 MB / 0.496 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.1451, allocations: 1.162 MB / 0.4971 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009411/0.1545, allocations: 6.58 MB / 0.5035 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2001/0.3546, allocations: 4.681 MB / 0.5081 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.3587, allocations: 2.208 MB / 0.5102 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004722/0.3634, allocations: 3.022 MB / 0.5132 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.3648, allocations: 456.6 kB / 0.5136 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/0.3678, allocations: 1.524 MB / 0.5151 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002666/0.3705, allocations: 2.677 MB / 0.5177 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.3733, allocations: 2.995 MB / 0.5207 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008212/0.3815, allocations: 9.387 MB / 0.5298 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3815, allocations: 1.375 kB / 0.5298 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3815, allocations: 0 / 0.5298 GB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002446/0.3818, allocations: 4 kB / 0.5298 GB, free: 9.664 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.01248/0.3943, allocations: 6.73 MB / 0.5364 GB, free: 5.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3943, allocations: 9.156 kB / 0.5364 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02187/0.4162, allocations: 3.295 MB / 0.5396 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.4272, allocations: 4.122 MB / 0.5437 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.4274, allocations: 314.3 kB / 0.544 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.4286, allocations: 430.9 kB / 0.5444 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/0.4515, allocations: 13.83 MB / 0.5579 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.4516, allocations: 60.94 kB / 0.5579 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004993/0.4521, allocations: 205.9 kB / 0.5581 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003562/0.4557, allocations: 2.533 MB / 0.5606 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0241/0.4798, allocations: 11.81 MB / 0.5721 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06759/0.5475, allocations: 53.46 MB / 0.6243 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.5632, allocations: 5.92 MB / 0.6301 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004731/0.568, allocations: 3.596 MB / 0.6336 GB, free: 5.289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02274/0.5908, allocations: 15.53 MB / 0.6488 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.5908, allocations: 59.19 kB / 0.6489 GB, free: 5.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 4.729e-06/0.5909, allocations: 4 kB / 0.6489 GB, free: 5.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.08577/0.6766, allocations: 28.62 MB / 0.6768 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.6768, allocations: 266.6 kB / 0.6771 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008146/0.685, allocations: 5.052 MB / 0.682 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008031/0.6858, allocations: 69.08 kB / 0.6821 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003019/0.6889, allocations: 3.876 MB / 0.6858 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.6903, allocations: 1.002 MB / 0.6868 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00236/0.6927, allocations: 1.548 MB / 0.6883 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6928, allocations: 309.1 kB / 0.6886 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/0.6974, allocations: 3.009 MB / 0.6916 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009263/0.7067, allocations: 7.353 MB / 0.6987 GB, free: 15.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/0.7204, allocations: 11.1 MB / 0.7096 GB, free: 3.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.7206, allocations: 44 kB / 0.7096 GB, free: 3.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.2274/0.948, allocations: 11.21 MB / 0.7206 GB, free: 187.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.9482, allocations: 74.41 kB / 0.7206 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002005/0.9484, allocations: 150.3 kB / 0.7208 GB, free: 187.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/0.9513, allocations: 1.225 MB / 0.722 GB, free: 187.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005912/0.9573, allocations: 1.833 MB / 0.7238 GB, free: 187.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/0.9658, allocations: 8.36 MB / 0.7319 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005316/0.9711, allocations: 434.9 kB / 0.7324 GB, free: 182.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007304/0.9718, allocations: 446.1 kB / 0.7328 GB, free: 182.2 MB / 0.545 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.003658/0.9755, allocations: 2.635 MB / 0.7354 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/0.9762, allocations: 468.6 kB / 0.7358 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007425/0.9836, allocations: 5.241 MB / 0.7409 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.9836, allocations: 27.53 kB / 0.7409 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9837, allocations: 7.812 kB / 0.741 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.9837, allocations: 11.95 kB / 0.741 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.002, allocations: 11.67 MB / 0.7524 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.002, allocations: 0 / 0.7524 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/1.004, allocations: 0.4937 MB / 0.7528 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/1.006, allocations: 0.9944 MB / 0.7538 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/1.007, allocations: 47.75 kB / 0.7539 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006709/1.013, allocations: 7.695 MB / 0.7614 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.013, allocations: 3.938 kB / 0.7614 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.023, allocations: 8.737 MB / 0.7699 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.025, allocations: 0.4951 MB / 0.7704 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005734/1.025, allocations: 40.75 kB / 0.7704 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/1.028, allocations: 180.7 kB / 0.7706 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/1.028, allocations: 145.7 kB / 0.7707 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/1.028, allocations: 76.78 kB / 0.7708 GB, free: 156.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004256/1.032, allocations: 3.157 MB / 0.7739 GB, free: 153.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.81e-07/1.032, allocations: 1.5 kB / 0.7739 GB, free: 153.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006032/1.038, allocations: 1.35 MB / 0.7752 GB, free: 152.3 MB / 0.545 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.0004506/1.039, allocations: 183.6 kB / 0.7754 GB, free: 152.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008292/1.047, allocations: 7.342 MB / 0.7826 GB, free: 144.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/1.047, allocations: 4 kB / 0.7826 GB, free: 144.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002553/1.05, allocations: 2.568 MB / 0.7851 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.053, allocations: 0.5941 MB / 0.7857 GB, free: 141.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.069, allocations: 12.73 MB / 0.7981 GB, free: 128.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003592/1.073, allocations: 4.101 MB / 0.8021 GB, free: 124.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004414/1.077, allocations: 2.364 MB / 0.8044 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009407/1.078, allocations: 319.4 kB / 0.8047 GB, free: 122.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.078, allocations: 0 / 0.8047 GB, free: 122.1 MB / 0.545 GB Notification: Performance of Templates: time 0.06905/1.147, allocations: 45.6 MB / 0.8492 GB, free: 76.87 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches