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.001391/0.001391, allocations: 84.3 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001411/0.001411, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.415/1.415, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.2069/0.2069, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] 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 1.533e-06/1.533e-06, allocations: 3.938 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.367e-05, allocations: 2.281 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008304/0.008328, allocations: 6.044 MB / 446.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1905/0.1988, allocations: 2.309 MB / 448.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.2, allocations: 36.38 kB / 448.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.2022, allocations: 1.071 MB / 449.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.2043, allocations: 0.8892 MB / 450.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.2051, allocations: 331.2 kB / 450.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.2076, allocations: 1.905 MB / 452.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.2092, allocations: 1.097 MB / 453.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.2108, allocations: 1.042 MB / 454.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.2123, allocations: 0.9896 MB / 455.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.2126, allocations: 128.4 kB / 455.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.214, allocations: 0.6772 MB / 456.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.2151, allocations: 0.9837 MB / 457.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.2158, allocations: 0.5726 MB / 458.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005417/0.2212, allocations: 3.664 MB / 461.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2212, allocations: 4.812 kB / 461.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2212, allocations: 0 / 461.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.685e-05/0.2213, allocations: 0 / 461.8 MB, free: 12.26 MB / 366.1 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.004797/0.2261, allocations: 2.618 MB / 464.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2261, allocations: 9.969 kB / 464.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005419/0.2315, allocations: 1.613 MB / 466.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.2335, allocations: 1.035 MB / 467.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.2336, allocations: 117.6 kB / 467.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/0.2339, allocations: 160.7 kB / 467.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008371/0.2423, allocations: 6.189 MB / 473.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.2423, allocations: 27.16 kB / 473.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.2426, allocations: 78.19 kB / 473.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00219/0.2448, allocations: 1.445 MB / 475.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008273/0.253, allocations: 5.386 MB / 480.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03906/0.2921, allocations: 23.36 MB / 0.492 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.2995, allocations: 1.848 MB / 0.4938 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.3015, allocations: 0.8809 MB / 0.4947 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.3018, allocations: 88.53 kB / 0.4948 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.3019, allocations: 42.5 kB / 0.4948 GB, free: 5.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 5.35e-06/0.3019, allocations: 0 / 0.4948 GB, free: 5.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.03191/0.3338, allocations: 8.604 MB / 0.5032 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.3339, allocations: 140.5 kB / 0.5034 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/0.3375, allocations: 2.453 MB / 0.5058 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.3377, allocations: 41.7 kB / 0.5058 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/0.3395, allocations: 2.111 MB / 0.5079 GB, free: 8.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/0.34, allocations: 450.2 kB / 0.5083 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.3412, allocations: 0.8562 MB / 0.5091 GB, free: 7.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3414, allocations: 345.9 kB / 0.5095 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.3435, allocations: 1.333 MB / 0.5108 GB, free: 5.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/0.3479, allocations: 4.109 MB / 0.5148 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007904/0.3558, allocations: 5.938 MB / 0.5206 GB, free: 8.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.3559, allocations: 28 kB / 0.5206 GB, free: 8.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01193/0.3678, allocations: 5.466 MB / 0.5259 GB, free: 3.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.164e-05/0.3679, allocations: 48 kB / 0.526 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.368, allocations: 100 kB / 0.5261 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.3692, allocations: 461.2 kB / 0.5265 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.3726, allocations: 0.9754 MB / 0.5275 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.3776, allocations: 3.517 MB / 0.5309 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/0.3812, allocations: 237.9 kB / 0.5311 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008852/0.3821, allocations: 272 kB / 0.5314 GB, free: 13.38 MB / 446.1 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.003419/0.3855, allocations: 1.361 MB / 0.5327 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/0.3861, allocations: 198.6 kB / 0.5329 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.3888, allocations: 1.305 MB / 0.5342 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.3888, allocations: 12 kB / 0.5342 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3888, allocations: 0 / 0.5342 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.3888, allocations: 11.97 kB / 0.5342 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.3973, allocations: 3.615 MB / 0.5377 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.3973, allocations: 0 / 0.5377 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.398, allocations: 147.7 kB / 0.5379 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.3992, allocations: 312.6 kB / 0.5382 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.3993, allocations: 12 kB / 0.5382 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.4033, allocations: 2.924 MB / 0.541 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4033, allocations: 0 / 0.541 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/0.4084, allocations: 3.054 MB / 0.544 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/0.4092, allocations: 174.5 kB / 0.5442 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.4094, allocations: 16 kB / 0.5442 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.4102, allocations: 43.94 kB / 0.5442 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.4104, allocations: 64.33 kB / 0.5443 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.855e-05/0.4105, allocations: 26.27 kB / 0.5443 GB, free: 15.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002579/0.4131, allocations: 1.374 MB / 0.5457 GB, free: 14.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4131, allocations: 0 / 0.5457 GB, free: 14.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004713/0.4178, allocations: 0.5858 MB / 0.5462 GB, free: 13.96 MB / 462.1 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.0004645/0.4183, allocations: 148.9 kB / 0.5464 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005572/0.4239, allocations: 3.104 MB / 0.5494 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4239, allocations: 0 / 0.5494 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.4251, allocations: 0.8045 MB / 0.5502 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.4264, allocations: 173.7 kB / 0.5504 GB, free: 9.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.437, allocations: 5.452 MB / 0.5557 GB, free: 4.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/0.4392, allocations: 1.59 MB / 0.5572 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003062/0.4423, allocations: 1.362 MB / 0.5586 GB, free: 1.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.4427, allocations: 144.5 kB / 0.5587 GB, free: 1.105 MB / 462.1 MB Notification: Performance of SimCode: time 1.542e-06/0.4427, allocations: 0 / 0.5587 GB, free: 1.105 MB / 462.1 MB Notification: Performance of Templates: time 0.039/0.4817, allocations: 16.28 MB / 0.5746 GB, free: 1.145 MB / 478.1 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.665197286754847]