Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002316/0.002316, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002683/0.002683, allocations: 161.7 kB / 24.27 MB, free: 168 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.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.335/0.335, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.5e-05, allocations: 2.312 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01107/0.01111, allocations: 6.053 MB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006238/0.01734, allocations: 2.302 MB / 383.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.01869, allocations: 39.81 kB / 383.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.02178, allocations: 1.094 MB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.02502, allocations: 0.8901 MB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.02618, allocations: 323 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003427/0.02961, allocations: 1.907 MB / 387.8 MB, free: 8.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.03213, allocations: 1.139 MB / 389 MB, free: 7.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.03473, allocations: 1.036 MB / 390 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.03688, allocations: 0.9856 MB / 391 MB, free: 5.152 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.03743, allocations: 128 kB / 391.1 MB, free: 5.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.03935, allocations: 0.6823 MB / 391.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.04085, allocations: 0.9814 MB / 392.8 MB, free: 3.359 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.04237, allocations: 0.5759 MB / 393.4 MB, free: 2.781 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00663/0.049, allocations: 3.667 MB / 397 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.04901, allocations: 0 / 397 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.04901, allocations: 4 kB / 397 MB, free: 15.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002085/0.04922, allocations: 0 / 397 MB, free: 15.1 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.008278/0.0575, allocations: 2.608 MB / 399.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.05756, allocations: 12.03 kB / 399.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007234/0.06479, allocations: 1.938 MB / 401.6 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.06774, allocations: 1.034 MB / 402.6 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.0679, allocations: 123.3 kB / 402.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006604/0.06856, allocations: 156.2 kB / 402.9 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.08218, allocations: 6.19 MB / 409.1 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.08229, allocations: 27.75 kB / 409.1 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005917/0.08288, allocations: 83.89 kB / 409.2 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/0.08618, allocations: 1.441 MB / 410.6 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.09874, allocations: 5.385 MB / 416 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03808/0.1368, allocations: 23.39 MB / 439.4 MB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005407/0.1422, allocations: 1.863 MB / 441.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.144, allocations: 0.8818 MB / 442.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.1443, allocations: 96.38 kB / 442.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.1444, allocations: 38.56 kB / 442.3 MB, free: 428 kB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 5.109e-06/0.1444, allocations: 0 / 442.3 MB, free: 428 kB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.1899/0.3342, allocations: 8.666 MB / 451 MB, free: 100.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3343, allocations: 138 kB / 451.1 MB, free: 100 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.3368, allocations: 2.453 MB / 453.5 MB, free: 99.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.133e-05/0.3369, allocations: 36.73 kB / 453.6 MB, free: 99.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007708/0.3377, allocations: 2.114 MB / 455.7 MB, free: 97.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.338, allocations: 449.1 kB / 456.1 MB, free: 97.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008197/0.3388, allocations: 0.8593 MB / 457 MB, free: 96.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.3389, allocations: 337.4 kB / 457.3 MB, free: 96.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.3403, allocations: 1.332 MB / 458.7 MB, free: 96.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.3426, allocations: 4.115 MB / 462.8 MB, free: 91.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004662/0.3472, allocations: 5.933 MB / 468.7 MB, free: 86.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.539e-05/0.3473, allocations: 31.62 kB / 468.7 MB, free: 86.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008442/0.3558, allocations: 5.705 MB / 474.4 MB, free: 84.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.023e-05/0.3559, allocations: 49.56 kB / 474.5 MB, free: 84.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/0.356, allocations: 103.1 kB / 474.6 MB, free: 84.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.3573, allocations: 0.5021 MB / 475.1 MB, free: 84.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.36, allocations: 0.9711 MB / 476.1 MB, free: 84.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.3638, allocations: 3.53 MB / 479.6 MB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.3667, allocations: 230.5 kB / 479.8 MB, free: 81.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00053/0.3672, allocations: 271.8 kB / 480.1 MB, free: 81.94 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.002032/0.3693, allocations: 1.367 MB / 481.4 MB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.3698, allocations: 229.2 kB / 481.7 MB, free: 81.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.372, allocations: 1.299 MB / 483 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.372, allocations: 15.42 kB / 483 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.372, allocations: 2.594 kB / 483 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.372, allocations: 4.797 kB / 483 MB, free: 80.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/0.3786, allocations: 3.619 MB / 486.6 MB, free: 79.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3786, allocations: 0 / 486.6 MB, free: 79.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.3792, allocations: 137.2 kB / 486.7 MB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000958/0.3801, allocations: 368.8 kB / 487.1 MB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.3802, allocations: 21.47 kB / 487.1 MB, free: 79.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.3829, allocations: 2.935 MB / 490.1 MB, free: 77.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3829, allocations: 0 / 490.1 MB, free: 77.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.3863, allocations: 3.068 MB / 493.1 MB, free: 75.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.3867, allocations: 177.6 kB / 493.3 MB, free: 75.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.387, allocations: 27.06 kB / 493.3 MB, free: 75.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.3877, allocations: 42.78 kB / 493.4 MB, free: 75.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.3879, allocations: 56.41 kB / 493.4 MB, free: 75.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/0.3879, allocations: 30 kB / 493.5 MB, free: 75.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001744/0.3897, allocations: 1.374 MB / 494.8 MB, free: 75.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 494.8 MB, free: 75.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003124/0.3928, allocations: 0.5877 MB / 495.4 MB, free: 74.99 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.0003007/0.3931, allocations: 141.4 kB / 495.6 MB, free: 74.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003845/0.3969, allocations: 3.103 MB / 498.7 MB, free: 72.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3969, allocations: 0 / 498.7 MB, free: 72.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.3978, allocations: 0.8051 MB / 499.5 MB, free: 71.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.399, allocations: 178.7 kB / 499.6 MB, free: 71.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/0.4068, allocations: 5.535 MB / 0.4933 GB, free: 66.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/0.4089, allocations: 1.598 MB / 0.4949 GB, free: 64.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002787/0.4117, allocations: 1.361 MB / 0.4962 GB, free: 64.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.4121, allocations: 142.2 kB / 0.4964 GB, free: 64 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4121, allocations: 0 / 0.4964 GB, free: 64 MB / 410.7 MB Notification: Performance of Templates: time 0.02825/0.4404, allocations: 16.42 MB / 0.5124 GB, free: 49.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.94698344101198]