Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009857/0.0009857, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001205/0.001205, allocations: 166.2 kB / 24.99 MB, free: 8.336 MB / 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.592e-06/1.592e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.55e-05, allocations: 2.312 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0107/0.01073, allocations: 14.39 MB / 392.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00658/0.0173, allocations: 4.918 MB / 397.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009448/0.01825, allocations: 123.4 kB / 397.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003842/0.02209, allocations: 4.295 MB / 401.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.0251, allocations: 2.484 MB / 404.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.02652, allocations: 1.302 MB / 405.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005222/0.03174, allocations: 7.34 MB / 412.9 MB, free: 8 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.03528, allocations: 4.439 MB / 417.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.04027, allocations: 3.336 MB / 420.7 MB, free: 8.156 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.04454, allocations: 3.34 MB / 424 MB, free: 4.809 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.04588, allocations: 468 kB / 424.5 MB, free: 4.352 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.04803, allocations: 1.498 MB / 426 MB, free: 2.852 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.05011, allocations: 2.926 MB / 428.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.05204, allocations: 1.784 MB / 430.7 MB, free: 14.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007108/0.05915, allocations: 6.302 MB / 437 MB, free: 7.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.05916, allocations: 0 / 437 MB, free: 7.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05916, allocations: 7.938 kB / 437 MB, free: 7.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002339/0.05939, allocations: 3.984 kB / 437 MB, free: 7.793 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.01153/0.07092, allocations: 7.311 MB / 444.3 MB, free: 412 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.07097, allocations: 8.031 kB / 444.3 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1719/0.2428, allocations: 3.934 MB / 448.2 MB, free: 99.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00701/0.2498, allocations: 3.723 MB / 452 MB, free: 99.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.2501, allocations: 311.1 kB / 452.3 MB, free: 99.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.2512, allocations: 425.6 kB / 452.7 MB, free: 99.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.2655, allocations: 8.732 MB / 461.4 MB, free: 94.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.2656, allocations: 63.86 kB / 461.5 MB, free: 94.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004811/0.2661, allocations: 200.3 kB / 461.7 MB, free: 94.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/0.269, allocations: 2.531 MB / 464.2 MB, free: 93.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.2824, allocations: 4.935 MB / 469.1 MB, free: 93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0462/0.3286, allocations: 55.63 MB / 0.5125 GB, free: 47.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009076/0.3376, allocations: 3.575 MB / 0.516 GB, free: 44.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.3397, allocations: 1.21 MB / 0.5171 GB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.3504, allocations: 8.82 MB / 0.5257 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.3504, allocations: 71.31 kB / 0.5258 GB, free: 34.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 4.91e-06/0.3504, allocations: 0 / 0.5258 GB, free: 34.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.04152/0.3919, allocations: 20.49 MB / 0.5458 GB, free: 14.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.392, allocations: 261.3 kB / 0.5461 GB, free: 13.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/0.3958, allocations: 4.341 MB / 0.5503 GB, free: 9.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.3961, allocations: 73.69 kB / 0.5504 GB, free: 9.363 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.3975, allocations: 4.225 MB / 0.5545 GB, free: 5.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007975/0.3983, allocations: 1.074 MB / 0.5556 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.3995, allocations: 1.628 MB / 0.5571 GB, free: 2.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.3995, allocations: 480.8 kB / 0.5576 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.401, allocations: 1.003 MB / 0.5586 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/0.4054, allocations: 7.482 MB / 0.5659 GB, free: 6.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007916/0.4133, allocations: 9.254 MB / 0.5749 GB, free: 10.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/0.4134, allocations: 44 kB / 0.575 GB, free: 10.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01403/0.4275, allocations: 7.269 MB / 0.5821 GB, free: 3.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.4276, allocations: 68 kB / 0.5821 GB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/0.4277, allocations: 155.9 kB / 0.5823 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002807/0.4305, allocations: 0.817 MB / 0.5831 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.4348, allocations: 1.829 MB / 0.5849 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.4408, allocations: 5.782 MB / 0.5905 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006646/0.4474, allocations: 499.3 kB / 0.591 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/0.4488, allocations: 444 kB / 0.5914 GB, free: 9.188 MB / 458.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.002594/0.4514, allocations: 0.7869 MB / 0.5922 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/0.4527, allocations: 0.5127 MB / 0.5927 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.4576, allocations: 2.658 MB / 0.5953 GB, free: 5.188 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/0.4576, allocations: 28 kB / 0.5953 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4576, allocations: 4 kB / 0.5953 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.4576, allocations: 11.95 kB / 0.5953 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1698/0.6274, allocations: 7.455 MB / 0.6026 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.6274, allocations: 2.812 kB / 0.6026 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.6289, allocations: 0.5101 MB / 0.6031 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.6303, allocations: 0.5792 MB / 0.6037 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.6305, allocations: 47.06 kB / 0.6037 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.6342, allocations: 5.312 MB / 0.6089 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6342, allocations: 2.375 kB / 0.6089 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00566/0.6399, allocations: 3.871 MB / 0.6127 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.641, allocations: 438.2 kB / 0.6131 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/0.6414, allocations: 42.52 kB / 0.6131 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.6427, allocations: 234.6 kB / 0.6134 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.643, allocations: 154.2 kB / 0.6135 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.6432, allocations: 74.14 kB / 0.6136 GB, free: 119.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002513/0.6457, allocations: 1.903 MB / 0.6154 GB, free: 119.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6457, allocations: 0 / 0.6154 GB, free: 119.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005209/0.6509, allocations: 1.49 MB / 0.6169 GB, free: 119.7 MB / 458.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.00051/0.6514, allocations: 195.6 kB / 0.6171 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006082/0.6575, allocations: 4.281 MB / 0.6213 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6575, allocations: 0 / 0.6213 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.6591, allocations: 1.371 MB / 0.6226 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.6618, allocations: 0.5442 MB / 0.6231 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.6784, allocations: 10.26 MB / 0.6331 GB, free: 113.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/0.6806, allocations: 1.645 MB / 0.6348 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004621/0.6853, allocations: 1.956 MB / 0.6367 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.6863, allocations: 312.3 kB / 0.637 GB, free: 113.1 MB / 458.7 MB Notification: Performance of SimCode: time 2.024e-06/0.6863, allocations: 0 / 0.637 GB, free: 113.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0631/0.7494, allocations: 45.71 MB / 0.6816 GB, free: 79.75 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 5.016234772047028]