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.001512/0.001512, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002268/0.002268, allocations: 161.7 kB / 24.27 MB, free: 176 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.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.343/0.343, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.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 2.254e-06/2.254e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.893e-05, allocations: 6.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009237/0.009266, allocations: 6.044 MB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005738/0.015, allocations: 2.313 MB / 385.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.0158, allocations: 35.88 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.01845, allocations: 1.09 MB / 386.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.02117, allocations: 0.8979 MB / 387.7 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.02216, allocations: 327 kB / 388 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003033/0.02519, allocations: 1.899 MB / 389.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.02748, allocations: 1.127 MB / 391 MB, free: 5.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.02975, allocations: 1.044 MB / 392 MB, free: 4.129 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.03157, allocations: 0.9856 MB / 393 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.03187, allocations: 132 kB / 393.2 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.03322, allocations: 0.6824 MB / 393.8 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.0343, allocations: 0.9775 MB / 394.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008329/0.03513, allocations: 0.5759 MB / 395.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005149/0.04028, allocations: 3.675 MB / 399.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.04028, allocations: 0 / 399.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.04029, allocations: 0 / 399.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.179e-05/0.04037, allocations: 0 / 399.1 MB, free: 13.08 MB / 378.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.005415/0.04578, allocations: 2.612 MB / 401.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.04583, allocations: 8.031 kB / 401.7 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006118/0.05195, allocations: 1.934 MB / 403.6 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.05431, allocations: 1.046 MB / 404.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.05448, allocations: 115.3 kB / 404.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.05486, allocations: 156.2 kB / 404.9 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.06613, allocations: 6.19 MB / 411.1 MB, free: 476 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.459e-05/0.0662, allocations: 31.73 kB / 411.2 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.06647, allocations: 79.89 kB / 411.2 MB, free: 364 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003067/0.06953, allocations: 1.445 MB / 412.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.08021, allocations: 5.377 MB / 418.1 MB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03299/0.1132, allocations: 23.4 MB / 441.4 MB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.172/0.2852, allocations: 1.849 MB / 443.3 MB, free: 100.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.2862, allocations: 0.889 MB / 444.2 MB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.2865, allocations: 89.31 kB / 444.3 MB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2865, allocations: 47.38 kB / 444.3 MB, free: 100.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.568e-06/0.2865, allocations: 0 / 444.3 MB, free: 100.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.0199/0.3064, allocations: 8.664 MB / 453 MB, free: 97.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3065, allocations: 141.7 kB / 453.1 MB, free: 97.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.3088, allocations: 2.45 MB / 455.6 MB, free: 96.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.793e-05/0.3089, allocations: 37.14 kB / 455.6 MB, free: 96.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000792/0.3097, allocations: 2.117 MB / 457.7 MB, free: 94.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.31, allocations: 452.4 kB / 458.2 MB, free: 94.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/0.3108, allocations: 0.854 MB / 459 MB, free: 94.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.3108, allocations: 337.3 kB / 459.4 MB, free: 93.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.3123, allocations: 1.335 MB / 460.7 MB, free: 93.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.3148, allocations: 4.106 MB / 464.8 MB, free: 89.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004761/0.3196, allocations: 5.939 MB / 470.7 MB, free: 83.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.025e-05/0.3197, allocations: 31.66 kB / 470.8 MB, free: 83.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008438/0.3281, allocations: 5.704 MB / 476.5 MB, free: 81.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.735e-05/0.3282, allocations: 50.66 kB / 476.5 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/0.3284, allocations: 98.03 kB / 476.6 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.3299, allocations: 0.5059 MB / 477.1 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.3328, allocations: 0.9745 MB / 478.1 MB, free: 81.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.3369, allocations: 3.525 MB / 481.6 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.3402, allocations: 225.2 kB / 481.8 MB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/0.3406, allocations: 271.3 kB / 482.1 MB, free: 79.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * 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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002065/0.3427, allocations: 1.37 MB / 483.5 MB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/0.3432, allocations: 231.7 kB / 483.7 MB, free: 78.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.3455, allocations: 1.288 MB / 485 MB, free: 77.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.3455, allocations: 12.44 kB / 485 MB, free: 77.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.3455, allocations: 3.625 kB / 485 MB, free: 77.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.3455, allocations: 5.531 kB / 485 MB, free: 77.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.3517, allocations: 3.617 MB / 488.6 MB, free: 76.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3517, allocations: 3.219 kB / 488.6 MB, free: 76.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.3523, allocations: 137 kB / 488.8 MB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009601/0.3533, allocations: 376.3 kB / 489.1 MB, free: 76.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.3533, allocations: 18.44 kB / 489.1 MB, free: 76.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.356, allocations: 2.931 MB / 492.1 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.356, allocations: 0 / 492.1 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.3594, allocations: 3.084 MB / 495.2 MB, free: 73.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.3598, allocations: 166.9 kB / 495.3 MB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.36, allocations: 19.59 kB / 495.3 MB, free: 72.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.3607, allocations: 48.73 kB / 495.4 MB, free: 72.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.3608, allocations: 59.25 kB / 495.4 MB, free: 72.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/0.3609, allocations: 23.41 kB / 495.5 MB, free: 72.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00154/0.3624, allocations: 1.377 MB / 496.8 MB, free: 71.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3624, allocations: 0 / 496.8 MB, free: 71.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003314/0.3657, allocations: 0.5888 MB / 497.4 MB, free: 71.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003634/0.3661, allocations: 138.4 kB / 497.6 MB, free: 71.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004228/0.3703, allocations: 3.103 MB / 0.4889 GB, free: 68.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3703, allocations: 4 kB / 0.4889 GB, free: 68.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009868/0.3713, allocations: 0.8152 MB / 0.4897 GB, free: 67.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3726, allocations: 185.1 kB / 0.4899 GB, free: 67.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/0.3803, allocations: 5.521 MB / 0.4953 GB, free: 62.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/0.3821, allocations: 1.598 MB / 0.4969 GB, free: 61.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00289/0.385, allocations: 1.361 MB / 0.4982 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.3853, allocations: 147.1 kB / 0.4983 GB, free: 60.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3853, allocations: 0 / 0.4983 GB, free: 60.27 MB / 410.7 MB Notification: Performance of Templates: time 0.02857/0.4139, allocations: 16.41 MB / 0.5144 GB, free: 45.92 MB / 410.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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: 5.939141583046876]