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.001547/0.001547, allocations: 79.75 kB / 21.19 MB, free: 3.379 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.001621/0.001621, allocations: 161 kB / 24.56 MB, free: 12 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 0.9408/0.9408, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.2413/0.2413, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] 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.743e-06/1.743e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.538e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01135/0.01137, allocations: 14.45 MB / 390.5 MB, free: 6.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00904/0.02041, allocations: 4.933 MB / 395.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.02197, allocations: 123.4 kB / 395.5 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004379/0.02635, allocations: 4.303 MB / 399.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.03003, allocations: 2.484 MB / 402.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.03228, allocations: 1.306 MB / 403.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006063/0.03835, allocations: 7.348 MB / 411 MB, free: 1.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009844/0.04819, allocations: 4.439 MB / 415.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008773/0.05696, allocations: 3.329 MB / 418.7 MB, free: 9.734 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006396/0.06336, allocations: 3.336 MB / 422.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.06526, allocations: 468 kB / 422.5 MB, free: 5.934 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.06935, allocations: 1.506 MB / 424 MB, free: 4.426 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0039/0.07325, allocations: 2.922 MB / 427 MB, free: 1.496 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004618/0.07787, allocations: 1.784 MB / 428.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.08944, allocations: 6.306 MB / 435 MB, free: 9.379 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.08945, allocations: 0 / 435 MB, free: 9.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08945, allocations: 0 / 435 MB, free: 9.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002552/0.0897, allocations: 0 / 435 MB, free: 9.379 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.01666/0.1064, allocations: 7.323 MB / 442.4 MB, free: 1.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1064, allocations: 8.031 kB / 442.4 MB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.192/0.2985, allocations: 3.93 MB / 446.3 MB, free: 72.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/0.3037, allocations: 3.725 MB / 450 MB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.3039, allocations: 312.2 kB / 450.3 MB, free: 72.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.3044, allocations: 431.3 kB / 450.8 MB, free: 72.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00979/0.3142, allocations: 8.732 MB / 459.5 MB, free: 68.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.3143, allocations: 63.12 kB / 459.6 MB, free: 68.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/0.3146, allocations: 200.8 kB / 459.7 MB, free: 68.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001987/0.3166, allocations: 2.519 MB / 462.3 MB, free: 68.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00843/0.325, allocations: 4.938 MB / 467.2 MB, free: 68.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03375/0.3588, allocations: 55.64 MB / 0.5106 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008024/0.3668, allocations: 3.567 MB / 0.5141 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.3682, allocations: 1.212 MB / 0.5153 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.3782, allocations: 8.817 MB / 0.5239 GB, free: 20.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.3783, allocations: 66.84 kB / 0.5239 GB, free: 20.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 5.23e-06/0.3783, allocations: 4 kB / 0.5239 GB, free: 20.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.03666/0.4149, allocations: 20.48 MB / 0.5439 GB, free: 2.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.415, allocations: 264.7 kB / 0.5442 GB, free: 2.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/0.4189, allocations: 4.336 MB / 0.5484 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.419, allocations: 74.17 kB / 0.5485 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.4213, allocations: 4.226 MB / 0.5526 GB, free: 10.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008861/0.4221, allocations: 1.08 MB / 0.5537 GB, free: 8.941 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.4237, allocations: 1.627 MB / 0.5553 GB, free: 7.309 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4238, allocations: 486.1 kB / 0.5557 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.4255, allocations: 0.9988 MB / 0.5567 GB, free: 5.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/0.4302, allocations: 7.502 MB / 0.564 GB, free: 11.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007884/0.438, allocations: 9.246 MB / 0.5731 GB, free: 15.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-05/0.4381, allocations: 44 kB / 0.5731 GB, free: 15.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01227/0.4504, allocations: 7.265 MB / 0.5802 GB, free: 8.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.4505, allocations: 72 kB / 0.5803 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/0.4506, allocations: 148 kB / 0.5804 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.4528, allocations: 0.8153 MB / 0.5812 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004496/0.4573, allocations: 1.84 MB / 0.583 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/0.463, allocations: 5.764 MB / 0.5886 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/0.4671, allocations: 0.4954 MB / 0.5891 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005368/0.4676, allocations: 445.7 kB / 0.5895 GB, free: 14.52 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.001619/0.4693, allocations: 0.7713 MB / 0.5903 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007618/0.47, allocations: 0.5104 MB / 0.5908 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/0.4751, allocations: 2.655 MB / 0.5934 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/0.4751, allocations: 34.81 kB / 0.5934 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4751, allocations: 4 kB / 0.5934 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.4751, allocations: 15.95 kB / 0.5934 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.4891, allocations: 7.468 MB / 0.6007 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4891, allocations: 4 kB / 0.6007 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.4909, allocations: 0.4993 MB / 0.6012 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.4929, allocations: 0.5885 MB / 0.6018 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.4931, allocations: 47.98 kB / 0.6018 GB, free: 1.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1662/0.6593, allocations: 5.313 MB / 0.607 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6593, allocations: 2.438 kB / 0.607 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005732/0.665, allocations: 3.882 MB / 0.6108 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009047/0.6659, allocations: 438.6 kB / 0.6112 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.6662, allocations: 41.97 kB / 0.6113 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6675, allocations: 234.2 kB / 0.6115 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.6678, allocations: 148.1 kB / 0.6116 GB, free: 131.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.668, allocations: 70.12 kB / 0.6117 GB, free: 131.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002346/0.6704, allocations: 1.905 MB / 0.6136 GB, free: 131.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6704, allocations: 0 / 0.6136 GB, free: 131.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004128/0.6745, allocations: 1.479 MB / 0.615 GB, free: 131.2 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.0004198/0.6749, allocations: 209.2 kB / 0.6152 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005103/0.68, allocations: 4.275 MB / 0.6194 GB, free: 130.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.68, allocations: 0 / 0.6194 GB, free: 130.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.6813, allocations: 1.375 MB / 0.6207 GB, free: 130.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6829, allocations: 0.5493 MB / 0.6213 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.6942, allocations: 10.26 MB / 0.6313 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.6956, allocations: 1.643 MB / 0.6329 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003509/0.6992, allocations: 1.955 MB / 0.6348 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/0.7, allocations: 316.2 kB / 0.6351 GB, free: 126 MB / 474.7 MB Notification: Performance of SimCode: time 2.044e-06/0.7, allocations: 0 / 0.6351 GB, free: 126 MB / 474.7 MB Notification: Performance of Templates: time 0.06226/0.7623, allocations: 45.7 MB / 0.6797 GB, free: 98.93 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","",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.01846783561632]