Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001726/0.001726, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001362/0.001362, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9077/0.9077, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1843/0.1843, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.614e-05, allocations: 2.312 kB / 347.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008433/0.008469, allocations: 6.617 MB / 354.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006655/0.01512, allocations: 2.334 MB / 356.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.01704, allocations: 35.88 kB / 356.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003097/0.02014, allocations: 1.105 MB / 357.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003743/0.02388, allocations: 0.8979 MB / 358.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.02515, allocations: 319 kB / 359 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003129/0.02828, allocations: 1.949 MB / 360.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.02962, allocations: 1.143 MB / 362.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.03101, allocations: 1.052 MB / 363.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.03232, allocations: 0.9973 MB / 364.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003402/0.03266, allocations: 128 kB / 364.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000991/0.03365, allocations: 0.6667 MB / 364.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007485/0.0344, allocations: 1.013 MB / 365.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007039/0.03511, allocations: 0.5915 MB / 366.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.03781, allocations: 2.505 MB / 369 MB, free: 4.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.03782, allocations: 0 / 369 MB, free: 4.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.03782, allocations: 0 / 369 MB, free: 4.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.951e-05/0.03792, allocations: 4 kB / 369 MB, free: 4.344 MB / 298.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.003865/0.04178, allocations: 2.911 MB / 371.9 MB, free: 1.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.04183, allocations: 8.031 kB / 371.9 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.04551, allocations: 1.879 MB / 373.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.04723, allocations: 0.9937 MB / 374.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.04731, allocations: 115.3 kB / 374.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.04753, allocations: 152.3 kB / 375.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005078/0.0526, allocations: 3.717 MB / 378.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.285e-05/0.05267, allocations: 31.7 kB / 378.8 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.05285, allocations: 75.89 kB / 378.9 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001577/0.05443, allocations: 1.441 MB / 380.3 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.05899, allocations: 1.997 MB / 382.3 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/0.08023, allocations: 28.48 MB / 410.8 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.08265, allocations: 0.9444 MB / 411.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.08308, allocations: 330.5 kB / 412.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.08325, allocations: 87.94 kB / 412.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.08329, allocations: 53.33 kB / 412.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 3.657e-06/0.08329, allocations: 0 / 412.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.0132/0.09648, allocations: 6.284 MB / 418.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.09656, allocations: 140.5 kB / 418.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.09971, allocations: 2.311 MB / 420.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.09979, allocations: 37.7 kB / 421 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.1012, allocations: 2.247 MB / 423.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.1017, allocations: 472.6 kB / 423.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.1027, allocations: 0.9486 MB / 424.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1029, allocations: 0.5043 MB / 425.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009385/0.1038, allocations: 444.2 kB / 425.6 MB, free: 9.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/0.1073, allocations: 4.555 MB / 430.1 MB, free: 3.273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.1125, allocations: 5.511 MB / 435.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.346e-05/0.1126, allocations: 28 kB / 435.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007045/0.1196, allocations: 3.808 MB / 439.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.1197, allocations: 51.88 kB / 439.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.1198, allocations: 100 kB / 439.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008654/0.1207, allocations: 323.9 kB / 439.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.123, allocations: 0.9747 MB / 440.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.1255, allocations: 2.715 MB / 443.6 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.1276, allocations: 231.6 kB / 443.8 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/0.1279, allocations: 272 kB / 444.1 MB, free: 3.25 MB / 378.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.0008808/0.1288, allocations: 0.5125 MB / 444.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.1291, allocations: 230.6 kB / 444.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.1307, allocations: 0.7101 MB / 445.6 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.1307, allocations: 12 kB / 445.6 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1307, allocations: 8 kB / 445.6 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1307, allocations: 3.984 kB / 445.6 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1653/0.296, allocations: 3.038 MB / 448.6 MB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.296, allocations: 0 / 448.6 MB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.2965, allocations: 140.9 kB / 448.8 MB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.297, allocations: 188 kB / 448.9 MB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/0.2971, allocations: 14.56 kB / 449 MB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.2987, allocations: 2.165 MB / 451.1 MB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2987, allocations: 3.562 kB / 451.1 MB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.3007, allocations: 1.627 MB / 452.8 MB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.3013, allocations: 293.4 kB / 453 MB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.3015, allocations: 18.06 kB / 453.1 MB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.3019, allocations: 50.22 kB / 453.1 MB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.302, allocations: 54.61 kB / 453.2 MB, free: 87.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.3021, allocations: 30.12 kB / 453.2 MB, free: 87.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001326/0.3034, allocations: 0.953 MB / 454.1 MB, free: 87.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3034, allocations: 3.094 kB / 454.1 MB, free: 87.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002446/0.3059, allocations: 0.5969 MB / 454.7 MB, free: 87.22 MB / 378.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.0003229/0.3062, allocations: 141.5 kB / 454.9 MB, free: 87.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.3099, allocations: 2.096 MB / 457 MB, free: 86.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3099, allocations: 0 / 457 MB, free: 86.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.3107, allocations: 0.5164 MB / 457.5 MB, free: 86.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3117, allocations: 177.6 kB / 457.7 MB, free: 86.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.3181, allocations: 4.406 MB / 462.1 MB, free: 84.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.3188, allocations: 0.7264 MB / 462.8 MB, free: 84.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001716/0.3205, allocations: 1.195 MB / 464 MB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.3207, allocations: 139 kB / 464.1 MB, free: 84.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.144e-06/0.3207, allocations: 0.9844 kB / 464.1 MB, free: 84.74 MB / 378.7 MB Notification: Performance of Templates: time 0.02881/0.3496, allocations: 16.41 MB / 480.5 MB, free: 71.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8272740729153156]