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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 112.7 kB / 17.04 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 195 kB / 17.98 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2123/0.2123, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 66.56 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.1007, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00695/0.1077, allocations: 6.803 MB / 448.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.113, allocations: 2.377 MB / 451.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008605/0.1139, allocations: 35.88 kB / 451.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.1161, allocations: 1.043 MB / 452.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.1183, allocations: 0.8362 MB / 453.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007578/0.1191, allocations: 303.3 kB / 453.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.122, allocations: 1.896 MB / 455.3 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.1237, allocations: 1.268 MB / 456.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.1249, allocations: 0.7199 MB / 457.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.126, allocations: 0.9731 MB / 458.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.1263, allocations: 128 kB / 458.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1275, allocations: 0.7137 MB / 459.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009166/0.1284, allocations: 0.9232 MB / 460 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.1295, allocations: 1.141 MB / 461.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.1331, allocations: 3.74 MB / 464.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1332, allocations: 0 / 464.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1332, allocations: 0 / 464.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.753e-05/0.1332, allocations: 0 / 464.9 MB, free: 15.16 MB / 350.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.00461/0.1379, allocations: 2.657 MB / 467.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1379, allocations: 11.89 kB / 467.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.143, allocations: 1.565 MB / 469.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.1454, allocations: 1.088 MB / 470.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.1455, allocations: 115.3 kB / 470.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.1458, allocations: 160 kB / 470.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009393/0.1552, allocations: 6.182 MB / 476.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.344e-05/0.1554, allocations: 35.64 kB / 476.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004027/0.1558, allocations: 79.89 kB / 476.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002377/0.1582, allocations: 1.441 MB / 478.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.1682, allocations: 5.393 MB / 483.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.2021, allocations: 24.75 MB / 0.4964 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004668/0.2068, allocations: 2.352 MB / 0.4987 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.2082, allocations: 0.9872 MB / 0.4997 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.2085, allocations: 339.4 kB / 0.5 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2086, allocations: 42.56 kB / 0.5 GB, free: 14.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.777e-06/0.2086, allocations: 0 / 0.5 GB, free: 14.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02243/0.231, allocations: 8.433 MB / 0.5083 GB, free: 5.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.2312, allocations: 148.5 kB / 0.5084 GB, free: 5.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.2354, allocations: 2.636 MB / 0.511 GB, free: 2.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.2356, allocations: 45.64 kB / 0.511 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.2371, allocations: 2.02 MB / 0.513 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005474/0.2377, allocations: 438.6 kB / 0.5134 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.2389, allocations: 0.8727 MB / 0.5143 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.2391, allocations: 305.1 kB / 0.5146 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.241, allocations: 1.332 MB / 0.5159 GB, free: 13.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003785/0.2448, allocations: 4.108 MB / 0.5199 GB, free: 8.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006287/0.2511, allocations: 5.936 MB / 0.5257 GB, free: 1.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.759e-05/0.2512, allocations: 28 kB / 0.5257 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.195/0.4461, allocations: 5.482 MB / 0.5311 GB, free: 84.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-05/0.4462, allocations: 47.09 kB / 0.5311 GB, free: 84.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.4464, allocations: 98.25 kB / 0.5312 GB, free: 84.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.4474, allocations: 459.7 kB / 0.5316 GB, free: 84.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.4503, allocations: 0.9718 MB / 0.5326 GB, free: 84.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.454, allocations: 3.679 MB / 0.5362 GB, free: 82.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.4568, allocations: 230.2 kB / 0.5364 GB, free: 82.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/0.4574, allocations: 271.6 kB / 0.5367 GB, free: 82.89 MB / 414.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.002111/0.4595, allocations: 1.37 MB / 0.538 GB, free: 82.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.4599, allocations: 215.8 kB / 0.5382 GB, free: 82.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.4624, allocations: 1.331 MB / 0.5395 GB, free: 81.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.4624, allocations: 14.17 kB / 0.5395 GB, free: 81.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4624, allocations: 3.516 kB / 0.5395 GB, free: 81.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4624, allocations: 4.859 kB / 0.5395 GB, free: 81.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/0.4701, allocations: 4.223 MB / 0.5436 GB, free: 80.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.4701, allocations: 2.156 kB / 0.5436 GB, free: 80.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.4707, allocations: 137.5 kB / 0.5438 GB, free: 80.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007593/0.4715, allocations: 312.4 kB / 0.5441 GB, free: 80.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.4716, allocations: 19.94 kB / 0.5441 GB, free: 80.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.4741, allocations: 3.036 MB / 0.5471 GB, free: 78.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4741, allocations: 3.938 kB / 0.5471 GB, free: 78.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.4775, allocations: 3.067 MB / 0.5501 GB, free: 76.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009609/0.4785, allocations: 415.2 kB / 0.5505 GB, free: 76.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.4789, allocations: 11.81 kB / 0.5505 GB, free: 76.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/0.4798, allocations: 54.25 kB / 0.5505 GB, free: 76.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.4799, allocations: 49.14 kB / 0.5506 GB, free: 76.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/0.48, allocations: 31.78 kB / 0.5506 GB, free: 76.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002239/0.4822, allocations: 1.633 MB / 0.5522 GB, free: 75.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4822, allocations: 1.531 kB / 0.5522 GB, free: 75.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00328/0.4855, allocations: 0.6003 MB / 0.5528 GB, free: 75.57 MB / 414.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.0003652/0.4859, allocations: 141.3 kB / 0.5529 GB, free: 75.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00448/0.4904, allocations: 3.216 MB / 0.5561 GB, free: 72.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4904, allocations: 1.5 kB / 0.5561 GB, free: 72.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.4913, allocations: 0.8636 MB / 0.5569 GB, free: 71.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.4926, allocations: 215.8 kB / 0.5571 GB, free: 71.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008827/0.5015, allocations: 5.45 MB / 0.5624 GB, free: 66.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.5036, allocations: 2.181 MB / 0.5646 GB, free: 63.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002661/0.5062, allocations: 1.383 MB / 0.5659 GB, free: 62.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.5067, allocations: 155.4 kB / 0.5661 GB, free: 62.34 MB / 414.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5067, allocations: 0 / 0.5661 GB, free: 62.34 MB / 414.1 MB Notification: Performance of Templates: time 0.03161/0.5383, allocations: 16.7 MB / 0.5824 GB, free: 45.82 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches