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.001393/0.001393, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001512/0.001512, allocations: 165 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.9109/0.9109, allocations: 177.1 MB / 205 MB, free: 5.621 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.2777/0.2777, allocations: 32.81 MB / 294.3 MB, free: 1.281 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.954e-06/1.954e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.167e-05, allocations: 6.25 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01208/0.01211, allocations: 14.43 MB / 390.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008761/0.02087, allocations: 4.937 MB / 395.4 MB, free: 1.207 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.02294, allocations: 123.4 kB / 395.5 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.02761, allocations: 4.307 MB / 399.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005656/0.03327, allocations: 2.48 MB / 402.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.03544, allocations: 1.314 MB / 403.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007712/0.04315, allocations: 7.348 MB / 411 MB, free: 1.594 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005334/0.04848, allocations: 4.427 MB / 415.4 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006372/0.05486, allocations: 4.37 MB / 419.8 MB, free: 8.719 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.0592, allocations: 3.289 MB / 423.1 MB, free: 5.422 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.06057, allocations: 468 kB / 423.5 MB, free: 4.965 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.063, allocations: 1.482 MB / 425 MB, free: 3.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.06521, allocations: 2.918 MB / 427.9 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002337/0.06754, allocations: 1.78 MB / 429.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006854/0.0744, allocations: 6.287 MB / 436 MB, free: 8.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.0744, allocations: 0 / 436 MB, free: 8.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0744, allocations: 0 / 436 MB, free: 8.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003267/0.07473, allocations: 4 kB / 436 MB, free: 8.453 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.01282/0.08755, allocations: 7.343 MB / 443.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.08761, allocations: 8.031 kB / 443.3 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1708/0.2584, allocations: 3.85 MB / 447.2 MB, free: 94.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005994/0.2644, allocations: 3.385 MB / 450.6 MB, free: 94.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.2646, allocations: 310.1 kB / 450.9 MB, free: 94.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008182/0.2654, allocations: 430.9 kB / 451.3 MB, free: 94.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.279, allocations: 8.729 MB / 460 MB, free: 90.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.2792, allocations: 58.98 kB / 460.1 MB, free: 90.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/0.2796, allocations: 201.5 kB / 460.3 MB, free: 90.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002307/0.2819, allocations: 2.414 MB / 462.7 MB, free: 90.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.2949, allocations: 4.749 MB / 467.4 MB, free: 89.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04043/0.3353, allocations: 55.68 MB / 0.5109 GB, free: 45.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007595/0.3429, allocations: 3.337 MB / 0.5141 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.3445, allocations: 0.9857 MB / 0.5151 GB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008542/0.353, allocations: 6.9 MB / 0.5218 GB, free: 36.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.3531, allocations: 62.7 kB / 0.5219 GB, free: 36.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 6.633e-06/0.3531, allocations: 0 / 0.5219 GB, free: 36.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02728/0.3804, allocations: 14.98 MB / 0.5365 GB, free: 22.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3804, allocations: 257.3 kB / 0.5368 GB, free: 21.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.3839, allocations: 4.546 MB / 0.5412 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.3841, allocations: 61.7 kB / 0.5413 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.3854, allocations: 4.371 MB / 0.5455 GB, free: 13.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000533/0.386, allocations: 0.9299 MB / 0.5464 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.3871, allocations: 1.634 MB / 0.548 GB, free: 10.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.3871, allocations: 476.8 kB / 0.5485 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3883, allocations: 0.8465 MB / 0.5493 GB, free: 9.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.3913, allocations: 7.763 MB / 0.5569 GB, free: 14.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006958/0.3982, allocations: 9.374 MB / 0.566 GB, free: 1.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.3983, allocations: 44 kB / 0.5661 GB, free: 1.734 MB / 426.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.008785/0.4071, allocations: 6.579 MB / 0.5725 GB, free: 11.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.209e-05/0.4072, allocations: 79.98 kB / 0.5726 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.4073, allocations: 160 kB / 0.5727 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/0.4078, allocations: 287.4 kB / 0.573 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/0.4113, allocations: 1.875 MB / 0.5748 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.4132, allocations: 3.826 MB / 0.5786 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.4165, allocations: 0.4993 MB / 0.5791 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004474/0.4169, allocations: 456 kB / 0.5795 GB, free: 3.73 MB / 442.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.001409/0.4183, allocations: 0.7946 MB / 0.5803 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/0.4189, allocations: 0.4971 MB / 0.5808 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.4208, allocations: 1.563 MB / 0.5823 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.4208, allocations: 25.8 kB / 0.5823 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4208, allocations: 7.938 kB / 0.5823 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4208, allocations: 11.95 kB / 0.5823 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008343/0.4292, allocations: 6.449 MB / 0.5886 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4292, allocations: 4 kB / 0.5886 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.4303, allocations: 463.2 kB / 0.5891 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.4305, allocations: 91.61 kB / 0.5892 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.4306, allocations: 40 kB / 0.5892 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.4322, allocations: 3.526 MB / 0.5927 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4322, allocations: 4 kB / 0.5927 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.4355, allocations: 2.885 MB / 0.5955 GB, free: 2.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007813/0.4362, allocations: 436.9 kB / 0.5959 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/0.4366, allocations: 43.98 kB / 0.5959 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.4376, allocations: 191.7 kB / 0.5961 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.4378, allocations: 140.9 kB / 0.5962 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.943e-05/0.4379, allocations: 62.97 kB / 0.5963 GB, free: 2.023 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002343/0.4402, allocations: 1.977 MB / 0.5982 GB, free: 52 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4402, allocations: 0 / 0.5982 GB, free: 52 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.1584/0.5986, allocations: 1.293 MB / 0.5995 GB, free: 119.8 MB / 458.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.000525/0.5991, allocations: 200.7 kB / 0.5997 GB, free: 119.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00564/0.6048, allocations: 3.813 MB / 0.6034 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.6048, allocations: 2.875 kB / 0.6034 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.6059, allocations: 1.03 MB / 0.6044 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.6081, allocations: 0.5473 MB / 0.605 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.6194, allocations: 9.903 MB / 0.6146 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.6207, allocations: 1.612 MB / 0.6162 GB, free: 114.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002951/0.6236, allocations: 1.974 MB / 0.6181 GB, free: 114.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/0.6242, allocations: 301.4 kB / 0.6184 GB, free: 114.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6242, allocations: 0 / 0.6184 GB, free: 114.5 MB / 458.7 MB Notification: Performance of Templates: time 0.05368/0.6779, allocations: 37.14 MB / 0.6547 GB, free: 100.8 MB / 458.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: 4.622754381969571]