Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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.0009736/0.0009736, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001088/0.001088, allocations: 170.4 kB / 24.91 MB, free: 8.723 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 0.9151/0.9151, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1608/0.1608, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.607e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01346/0.01349, allocations: 6.507 MB / 331.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005923/0.01941, allocations: 2.453 MB / 334.2 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.02078, allocations: 35.88 kB / 334.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.02309, allocations: 1.097 MB / 335.4 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.0258, allocations: 0.8901 MB / 336.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.02683, allocations: 331 kB / 336.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003049/0.02987, allocations: 1.915 MB / 338.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.03179, allocations: 1.178 MB / 339.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.0341, allocations: 1.079 MB / 340.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.03605, allocations: 0.9154 MB / 341.7 MB, free: 260 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000594/0.03665, allocations: 128 kB / 341.8 MB, free: 132 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1473/0.1839, allocations: 0.679 MB / 342.5 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.1852, allocations: 0.9871 MB / 343.5 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.1868, allocations: 0.5763 MB / 344 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.1912, allocations: 2.478 MB / 346.5 MB, free: 21.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1912, allocations: 0 / 346.5 MB, free: 21.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1912, allocations: 0 / 346.5 MB, free: 21.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.1914, allocations: 1.688 kB / 346.5 MB, free: 21.67 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005651/0.197, allocations: 2.468 MB / 349 MB, free: 20.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1971, allocations: 9.625 kB / 349 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.2001, allocations: 0.7407 MB / 349.7 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.2016, allocations: 0.8213 MB / 350.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2017, allocations: 118.2 kB / 350.7 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.202, allocations: 159 kB / 350.8 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004537/0.2066, allocations: 3.012 MB / 353.8 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/0.2066, allocations: 29.34 kB / 353.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.2068, allocations: 83.58 kB / 353.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/0.2082, allocations: 1.235 MB / 355.2 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.2115, allocations: 1.556 MB / 356.7 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05179/0.2633, allocations: 20.31 MB / 377 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.2654, allocations: 0.7646 MB / 377.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006269/0.2716, allocations: 194.9 kB / 378 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002244/0.2739, allocations: 1.703 MB / 379.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2739, allocations: 41.75 kB / 379.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=77): time 2.895e-06/0.2739, allocations: 2.062 kB / 379.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.006689/0.2806, allocations: 2.414 MB / 382.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.2807, allocations: 135.8 kB / 382.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.2821, allocations: 1.888 MB / 384.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2822, allocations: 37.7 kB / 384.2 MB, free: 8.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008952/0.2831, allocations: 2.129 MB / 386.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.2833, allocations: 375.5 kB / 386.7 MB, free: 6.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006223/0.2839, allocations: 0.8216 MB / 387.5 MB, free: 5.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.284, allocations: 337.2 kB / 387.9 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.2845, allocations: 442.6 kB / 388.3 MB, free: 4.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.2863, allocations: 3.242 MB / 391.5 MB, free: 160 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/0.2895, allocations: 4.185 MB / 395.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.065e-05/0.2895, allocations: 32 kB / 395.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003494/0.293, allocations: 2.925 MB / 398.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.2931, allocations: 52 kB / 398.7 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.151e-05/0.2932, allocations: 107.9 kB / 398.8 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.2934, allocations: 175.7 kB / 399 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.2951, allocations: 1.01 MB / 400 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009838/0.2961, allocations: 1.431 MB / 401.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.2976, allocations: 199.7 kB / 401.6 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.2979, allocations: 248 kB / 401.9 MB, free: 4.387 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (536): * Single equations (assignments): 532 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.2989, allocations: 491.2 kB / 402.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.2991, allocations: 115.8 kB / 402.5 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.2996, allocations: 343.5 kB / 402.8 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.2996, allocations: 12 kB / 402.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2996, allocations: 0 / 402.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2996, allocations: 3.984 kB / 402.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.302, allocations: 2.012 MB / 404.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.302, allocations: 4.562 kB / 404.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3022, allocations: 107.8 kB / 405 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.3025, allocations: 178.2 kB / 405.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.3025, allocations: 19.94 kB / 405.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006429/0.3032, allocations: 1.241 MB / 406.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3032, allocations: 4 kB / 406.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.304, allocations: 1.113 MB / 407.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.3042, allocations: 182.5 kB / 407.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.3043, allocations: 20 kB / 407.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.3046, allocations: 12 kB / 407.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.3046, allocations: 67.72 kB / 407.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.3047, allocations: 24 kB / 407.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000634/0.3053, allocations: 0.7117 MB / 408.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3053, allocations: 0 / 408.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002054/0.3074, allocations: 0.5351 MB / 409 MB, free: 12.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (rev.phi,rev.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 (65): * Single equations (assignments): 61 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002206/0.3076, allocations: 124.1 kB / 409.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.3094, allocations: 1.708 MB / 410.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001006/0.3095, allocations: 61.75 kB / 410.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.3097, allocations: 302.1 kB / 411.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.3104, allocations: 194.7 kB / 411.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.3158, allocations: 4.301 MB / 415.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.3164, allocations: 0.707 MB / 416.4 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006663/0.3171, allocations: 316.5 kB / 416.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.3175, allocations: 323.3 kB / 417.1 MB, free: 4.691 MB / 362.7 MB Notification: Performance of SimCode: time 1.532e-06/0.3175, allocations: 0 / 417.1 MB, free: 4.691 MB / 362.7 MB Notification: Performance of Templates: time 0.02345/0.3409, allocations: 13.1 MB / 430.2 MB, free: 7.734 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.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: 3.507220020983368]