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.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.001923/0.001923, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002324/0.002324, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4017/0.4017, allocations: 32.8 MB / 293.9 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.837e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.02087/0.0209, allocations: 14.35 MB / 389.6 MB, free: 6.559 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.03426, allocations: 4.918 MB / 394.5 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.03685, allocations: 123.4 kB / 394.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009828/0.04668, allocations: 4.291 MB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008237/0.05491, allocations: 2.48 MB / 401.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.05863, allocations: 1.31 MB / 402.7 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.07209, allocations: 7.349 MB / 410.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.08333, allocations: 4.435 MB / 414.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/0.09394, allocations: 3.325 MB / 417.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008952/0.1029, allocations: 3.344 MB / 421.2 MB, free: 6.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002114/0.105, allocations: 468 kB / 421.7 MB, free: 6.383 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005465/0.1105, allocations: 1.498 MB / 423.1 MB, free: 4.883 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006086/0.1166, allocations: 2.922 MB / 426.1 MB, free: 1.953 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005753/0.1223, allocations: 1.784 MB / 427.9 MB, free: 168 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0212/0.1435, allocations: 9.599 MB / 437.5 MB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1435, allocations: 0 / 437.5 MB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1435, allocations: 0 / 437.5 MB, free: 6.535 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000356/0.1439, allocations: 3.938 kB / 437.5 MB, free: 6.531 MB / 410.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.1555/0.2994, allocations: 7.865 MB / 445.3 MB, free: 98.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2994, allocations: 11.84 kB / 445.3 MB, free: 98.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02834/0.3277, allocations: 3.928 MB / 449.3 MB, free: 97.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009824/0.3376, allocations: 3.82 MB / 453.1 MB, free: 96.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3378, allocations: 315.3 kB / 453.4 MB, free: 96.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.339, allocations: 421.7 kB / 453.8 MB, free: 96.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.3581, allocations: 9.259 MB / 463.1 MB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/0.3583, allocations: 58.3 kB / 463.1 MB, free: 91.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006346/0.3589, allocations: 198.9 kB / 463.3 MB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00352/0.3625, allocations: 2.528 MB / 465.8 MB, free: 90.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.3802, allocations: 5.328 MB / 471.2 MB, free: 90 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06297/0.4432, allocations: 60.75 MB / 0.5195 GB, free: 37.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.4568, allocations: 3.608 MB / 0.523 GB, free: 34.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.4593, allocations: 1.241 MB / 0.5242 GB, free: 32.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/0.4774, allocations: 8.976 MB / 0.533 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.4774, allocations: 59.39 kB / 0.533 GB, free: 23.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 5.941e-06/0.4774, allocations: 0 / 0.533 GB, free: 23.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.07613/0.5536, allocations: 20.75 MB / 0.5533 GB, free: 3.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.5537, allocations: 261.3 kB / 0.5535 GB, free: 2.875 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007338/0.561, allocations: 5.435 MB / 0.5588 GB, free: 13.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005974/0.5616, allocations: 73.69 kB / 0.5589 GB, free: 13.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004837/0.5664, allocations: 4.483 MB / 0.5633 GB, free: 8.805 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00199/0.5684, allocations: 1.14 MB / 0.5644 GB, free: 7.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003499/0.5719, allocations: 1.913 MB / 0.5663 GB, free: 5.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.5722, allocations: 480.7 kB / 0.5667 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.575, allocations: 1.081 MB / 0.5678 GB, free: 4.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/0.585, allocations: 7.811 MB / 0.5754 GB, free: 9.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/0.6003, allocations: 9.712 MB / 0.5849 GB, free: 12.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/0.6005, allocations: 44 kB / 0.5849 GB, free: 12.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.0205/0.621, allocations: 7.441 MB / 0.5922 GB, free: 5.324 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.6211, allocations: 72 kB / 0.5923 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002125/0.6213, allocations: 148 kB / 0.5924 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/0.6247, allocations: 0.8309 MB / 0.5932 GB, free: 4.273 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007408/0.6321, allocations: 1.836 MB / 0.595 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008975/0.6411, allocations: 5.973 MB / 0.6008 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007075/0.6481, allocations: 499.3 kB / 0.6013 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/0.6497, allocations: 449 kB / 0.6017 GB, free: 11.29 MB / 474.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 (951): * Single equations (assignments): 946 * 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.003495/0.6532, allocations: 0.8845 MB / 0.6026 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/0.6547, allocations: 0.5088 MB / 0.6031 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007593/0.6623, allocations: 2.733 MB / 0.6058 GB, free: 7.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/0.6623, allocations: 28 kB / 0.6058 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/0.6624, allocations: 11.92 kB / 0.6058 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/0.6624, allocations: 11.97 kB / 0.6058 GB, free: 7.074 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.219/0.8814, allocations: 8.726 MB / 0.6143 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.8814, allocations: 2.125 kB / 0.6143 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/0.8839, allocations: 0.5033 MB / 0.6148 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.8865, allocations: 0.6015 MB / 0.6154 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000266/0.8868, allocations: 45.39 kB / 0.6155 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005363/0.8921, allocations: 5.482 MB / 0.6208 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.8921, allocations: 0 / 0.6208 GB, free: 132.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00817/0.9003, allocations: 4.085 MB / 0.6248 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.9017, allocations: 437.9 kB / 0.6252 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006087/0.9023, allocations: 47.81 kB / 0.6253 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.9046, allocations: 237 kB / 0.6255 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/0.9051, allocations: 152.5 kB / 0.6256 GB, free: 131.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/0.9053, allocations: 68.62 kB / 0.6257 GB, free: 131.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003819/0.9091, allocations: 2.27 MB / 0.6279 GB, free: 131.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9091, allocations: 0 / 0.6279 GB, free: 131.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006217/0.9153, allocations: 1.487 MB / 0.6294 GB, free: 131.3 MB / 474.7 MB 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.0006188/0.9159, allocations: 196.9 kB / 0.6296 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008101/0.924, allocations: 4.657 MB / 0.6341 GB, free: 130.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9241, allocations: 0 / 0.6341 GB, free: 130.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.9263, allocations: 1.472 MB / 0.6356 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.9297, allocations: 0.534 MB / 0.6361 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.9467, allocations: 10.39 MB / 0.6462 GB, free: 125.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004429/0.9511, allocations: 3.27 MB / 0.6494 GB, free: 124.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005315/0.9564, allocations: 1.95 MB / 0.6513 GB, free: 124.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.9578, allocations: 313.3 kB / 0.6516 GB, free: 124.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9578, allocations: 1.094 kB / 0.6516 GB, free: 124.7 MB / 474.7 MB Notification: Performance of Templates: time 0.08118/1.039, allocations: 45.65 MB / 0.6962 GB, free: 91.71 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.767942146980204]