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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009449/0.0009449, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9383/0.9383, allocations: 158.6 MB / 185.9 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1479/0.1479, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.91e-05, allocations: 9.344 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01026/0.01029, allocations: 14.16 MB / 362.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02073, allocations: 4.891 MB / 367.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.02396, allocations: 123.4 kB / 367.3 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005517/0.02948, allocations: 4.256 MB / 371.6 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.03599, allocations: 2.543 MB / 374.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.0387, allocations: 1.302 MB / 375.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009017/0.04772, allocations: 6.871 MB / 382.3 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006051/0.05377, allocations: 4.451 MB / 386.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007706/0.06148, allocations: 4.066 MB / 390.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004847/0.06632, allocations: 3.305 MB / 394.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.06775, allocations: 468 kB / 394.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.07044, allocations: 1.486 MB / 396 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002923/0.07337, allocations: 2.957 MB / 399 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.07613, allocations: 1.803 MB / 400.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00931/0.08544, allocations: 6.353 MB / 407.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.08545, allocations: 0 / 407.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.08545, allocations: 4 kB / 407.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002714/0.08572, allocations: 0 / 407.2 MB, free: 13.89 MB / 346.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.01154/0.09726, allocations: 6.966 MB / 414.1 MB, free: 6.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.09731, allocations: 12.03 kB / 414.1 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.1139, allocations: 2.935 MB / 417.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009165/0.1231, allocations: 3.039 MB / 420.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.1234, allocations: 308.4 kB / 420.4 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.1253, allocations: 432.3 kB / 420.8 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.1397, allocations: 7.632 MB / 428.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001903/0.1398, allocations: 71.5 kB / 428.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.1402, allocations: 195.8 kB / 428.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.1421, allocations: 2.262 MB / 431 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008559/0.1507, allocations: 3.528 MB / 434.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2154/0.3661, allocations: 55.2 MB / 489.7 MB, free: 53.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/0.3735, allocations: 3.051 MB / 492.8 MB, free: 53.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.3749, allocations: 0.8323 MB / 493.6 MB, free: 53.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.3855, allocations: 6.583 MB / 0.4885 GB, free: 51.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.3856, allocations: 66.75 kB / 0.4885 GB, free: 51.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=199): time 5.691e-06/0.3856, allocations: 0 / 0.4885 GB, free: 51.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.03251/0.4181, allocations: 9.87 MB / 0.4982 GB, free: 44.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.4182, allocations: 260.9 kB / 0.4984 GB, free: 44.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/0.4237, allocations: 4.537 MB / 0.5028 GB, free: 40.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003572/0.4241, allocations: 57.7 kB / 0.5029 GB, free: 40.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.4262, allocations: 4.419 MB / 0.5072 GB, free: 36.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.4273, allocations: 0.9344 MB / 0.5081 GB, free: 35.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/0.429, allocations: 1.67 MB / 0.5098 GB, free: 33.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.4291, allocations: 484.7 kB / 0.5102 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.4306, allocations: 0.7489 MB / 0.511 GB, free: 32.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/0.4344, allocations: 7.717 MB / 0.5185 GB, free: 21.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/0.4412, allocations: 9.146 MB / 0.5274 GB, free: 9.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/0.4414, allocations: 48 kB / 0.5275 GB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.009514/0.4509, allocations: 6.093 MB / 0.5334 GB, free: 3.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/0.451, allocations: 76 kB / 0.5335 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001309/0.4511, allocations: 160 kB / 0.5336 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.4516, allocations: 295.9 kB / 0.5339 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/0.4549, allocations: 1.762 MB / 0.5356 GB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.4568, allocations: 3.783 MB / 0.5393 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/0.4613, allocations: 331.7 kB / 0.5397 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/0.4624, allocations: 396 kB / 0.54 GB, free: 12.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * 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 (976): * Single equations (assignments): 971 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002008/0.4644, allocations: 0.7944 MB / 0.5408 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000965/0.4653, allocations: 0.5039 MB / 0.5413 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.4671, allocations: 1.426 MB / 0.5427 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.4671, allocations: 24 kB / 0.5427 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4671, allocations: 4 kB / 0.5427 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.4671, allocations: 7.969 kB / 0.5427 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.4777, allocations: 6.117 MB / 0.5487 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.4777, allocations: 8.062 kB / 0.5487 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4788, allocations: 359.4 kB / 0.5491 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.479, allocations: 83.3 kB / 0.5491 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.4792, allocations: 47.98 kB / 0.5492 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.4807, allocations: 3.479 MB / 0.5526 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4807, allocations: 7.938 kB / 0.5526 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/0.4847, allocations: 2.636 MB / 0.5552 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.4863, allocations: 0.5983 MB / 0.5557 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/0.4868, allocations: 43.98 kB / 0.5558 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000956/0.4878, allocations: 55.98 kB / 0.5558 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.488, allocations: 140.9 kB / 0.556 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.4881, allocations: 51.31 kB / 0.556 GB, free: 11.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002362/0.4904, allocations: 1.852 MB / 0.5578 GB, free: 9.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4904, allocations: 0 / 0.5578 GB, free: 9.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004915/0.4953, allocations: 1.332 MB / 0.5591 GB, free: 8.633 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (201): * Single equations (assignments): 196 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004449/0.4958, allocations: 206.7 kB / 0.5593 GB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005779/0.5016, allocations: 3.564 MB / 0.5628 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.5016, allocations: 0 / 0.5628 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5026, allocations: 0.9602 MB / 0.5637 GB, free: 3.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.5059, allocations: 0.5388 MB / 0.5643 GB, free: 3.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.5237, allocations: 9.883 MB / 0.5739 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.5258, allocations: 1.611 MB / 0.5755 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002142/0.5279, allocations: 0.6493 MB / 0.5761 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/0.5296, allocations: 0.7753 MB / 0.5769 GB, free: 6.219 MB / 426.7 MB Notification: Performance of SimCode: time 1.804e-06/0.5296, allocations: 0 / 0.5769 GB, free: 6.219 MB / 426.7 MB Notification: Performance of Templates: time 0.2122/0.7418, allocations: 40.14 MB / 0.6161 GB, free: 158.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.775805643759668]