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.001856/0.001856, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001983/0.001983, allocations: 169.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.615/1.615, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3638/0.3638, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.422e-06/1.422e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.148e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.02021/0.02024, allocations: 14.35 MB / 391.6 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.03271, allocations: 4.918 MB / 396.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.03558, allocations: 119.4 kB / 396.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009737/0.04532, allocations: 4.299 MB / 401 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009491/0.05481, allocations: 2.484 MB / 403.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.05953, allocations: 1.302 MB / 404.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01708/0.07661, allocations: 7.344 MB / 412.1 MB, free: 20 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/0.08762, allocations: 4.431 MB / 416.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.09904, allocations: 3.337 MB / 419.9 MB, free: 8.176 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.1097, allocations: 3.344 MB / 423.2 MB, free: 4.824 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002064/0.1118, allocations: 468 kB / 423.7 MB, free: 4.367 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005707/0.1175, allocations: 1.494 MB / 425.2 MB, free: 2.871 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007108/0.1246, allocations: 2.922 MB / 428.1 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005612/0.1302, allocations: 1.784 MB / 429.9 MB, free: 14.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0212/0.1514, allocations: 9.599 MB / 439.5 MB, free: 4.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1514, allocations: 0 / 439.5 MB, free: 4.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1514, allocations: 0 / 439.5 MB, free: 4.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000336/0.1517, allocations: 0 / 439.5 MB, free: 4.523 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.1675/0.3193, allocations: 7.864 MB / 447.3 MB, free: 96.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3193, allocations: 9.594 kB / 447.4 MB, free: 96.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02817/0.3475, allocations: 3.935 MB / 451.3 MB, free: 96.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009925/0.3574, allocations: 3.818 MB / 455.1 MB, free: 95.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.3577, allocations: 312.3 kB / 455.4 MB, free: 94.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001899/0.3596, allocations: 432.5 kB / 455.8 MB, free: 94.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/0.3789, allocations: 9.252 MB / 465.1 MB, free: 89.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.379, allocations: 58.83 kB / 465.1 MB, free: 89.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005031/0.3795, allocations: 202.6 kB / 465.3 MB, free: 89.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003466/0.383, allocations: 2.524 MB / 467.9 MB, free: 89.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.4003, allocations: 5.331 MB / 473.2 MB, free: 88.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06692/0.4673, allocations: 60.75 MB / 0.5214 GB, free: 34.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/0.4808, allocations: 3.603 MB / 0.5249 GB, free: 31.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.4832, allocations: 1.244 MB / 0.5262 GB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/0.5008, allocations: 8.98 MB / 0.5349 GB, free: 20.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.5008, allocations: 55.39 kB / 0.535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 5.49e-06/0.5008, allocations: 0 / 0.535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.06917/0.57, allocations: 20.76 MB / 0.5553 GB, free: 72 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.5702, allocations: 261.4 kB / 0.5555 GB, free: 15.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009289/0.5795, allocations: 5.435 MB / 0.5608 GB, free: 10.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005824/0.58, allocations: 69.69 kB / 0.5609 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004732/0.5848, allocations: 4.471 MB / 0.5652 GB, free: 5.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002032/0.5868, allocations: 1.152 MB / 0.5664 GB, free: 4.547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003561/0.5904, allocations: 1.909 MB / 0.5682 GB, free: 2.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.5906, allocations: 476.8 kB / 0.5687 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/0.5935, allocations: 1.085 MB / 0.5697 GB, free: 1.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009394/0.6029, allocations: 7.811 MB / 0.5774 GB, free: 6.324 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/0.6175, allocations: 9.708 MB / 0.5869 GB, free: 9.719 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001797/0.6177, allocations: 44 kB / 0.5869 GB, free: 9.676 MB / 458.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01975/0.6375, allocations: 7.443 MB / 0.5942 GB, free: 2.223 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.6376, allocations: 72 kB / 0.5942 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/0.6378, allocations: 148 kB / 0.5944 GB, free: 2.008 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.6412, allocations: 0.8323 MB / 0.5952 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007197/0.6484, allocations: 1.836 MB / 0.597 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.6576, allocations: 5.972 MB / 0.6028 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006625/0.6642, allocations: 496.4 kB / 0.6033 GB, free: 8.633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/0.6658, allocations: 452 kB / 0.6037 GB, free: 8.191 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.003245/0.669, allocations: 0.8844 MB / 0.6046 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/0.6706, allocations: 0.5089 MB / 0.6051 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/0.6783, allocations: 2.737 MB / 0.6077 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.227e-05/0.6783, allocations: 28 kB / 0.6078 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.6783, allocations: 4 kB / 0.6078 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.585e-05/0.6784, allocations: 15.95 kB / 0.6078 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.201/0.8793, allocations: 8.732 MB / 0.6163 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/0.8794, allocations: 2.938 kB / 0.6163 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004212/0.8836, allocations: 0.5046 MB / 0.6168 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004208/0.8878, allocations: 0.5927 MB / 0.6174 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004993/0.8883, allocations: 41.72 kB / 0.6174 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00821/0.8965, allocations: 5.485 MB / 0.6228 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8965, allocations: 1.812 kB / 0.6228 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.9095, allocations: 4.092 MB / 0.6268 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/0.9114, allocations: 433.3 kB / 0.6272 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/0.9127, allocations: 46.05 kB / 0.6272 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003982/0.9167, allocations: 231.6 kB / 0.6275 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007007/0.9174, allocations: 153.6 kB / 0.6276 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/0.9177, allocations: 76.8 kB / 0.6277 GB, free: 131.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005463/0.9231, allocations: 2.267 MB / 0.6299 GB, free: 130.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9231, allocations: 0.5625 kB / 0.6299 GB, free: 130.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01029/0.9334, allocations: 1.488 MB / 0.6314 GB, free: 130.8 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.0007735/0.9342, allocations: 211.1 kB / 0.6316 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009719/0.9439, allocations: 4.646 MB / 0.6361 GB, free: 129.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.9439, allocations: 3.781 kB / 0.6361 GB, free: 129.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.9464, allocations: 1.462 MB / 0.6375 GB, free: 128.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/0.9502, allocations: 0.537 MB / 0.6381 GB, free: 128.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.9701, allocations: 10.39 MB / 0.6482 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005554/0.9757, allocations: 3.268 MB / 0.6514 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005486/0.9812, allocations: 1.954 MB / 0.6533 GB, free: 122.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.9825, allocations: 312.6 kB / 0.6536 GB, free: 122.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.144e-06/0.9825, allocations: 0 / 0.6536 GB, free: 122.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1054/1.088, allocations: 45.64 MB / 0.6982 GB, free: 86.93 MB / 474.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.823651035898365]