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.001674/0.001674, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001951/0.001951, allocations: 215 kB / 21.45 MB, free: 1.641 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.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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.219/0.219, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.91 kB / 0.4885 GB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 65.42 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00845/0.1243, allocations: 6.807 MB / 0.5591 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004982/0.1292, allocations: 2.442 MB / 0.5614 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000674/0.1299, allocations: 35.88 kB / 0.5615 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.1321, allocations: 1.082 MB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.134, allocations: 0.863 MB / 0.5634 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007635/0.1347, allocations: 299.2 kB / 0.5637 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.1371, allocations: 1.865 MB / 0.5655 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.1385, allocations: 1.088 MB / 0.5666 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009995/0.1395, allocations: 0.7199 MB / 0.5673 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.1409, allocations: 1.063 MB / 0.5683 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.1412, allocations: 128 kB / 0.5684 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.1424, allocations: 0.7604 MB / 0.5692 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000906/0.1433, allocations: 0.9541 MB / 0.5701 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.1444, allocations: 1.129 MB / 0.5712 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.1486, allocations: 3.726 MB / 0.5748 GB, free: 3.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1486, allocations: 0 / 0.5748 GB, free: 3.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1486, allocations: 0 / 0.5748 GB, free: 3.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.972e-05/0.1487, allocations: 0 / 0.5748 GB, free: 3.117 MB / 430.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.004883/0.1536, allocations: 2.715 MB / 0.5775 GB, free: 348 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1536, allocations: 19.97 kB / 0.5775 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.363e-05/0.1537, allocations: 55.2 kB / 0.5776 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000611/0.1543, allocations: 462.4 kB / 0.578 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.1599, allocations: 1.578 MB / 0.5795 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.1619, allocations: 1.085 MB / 0.5806 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.162, allocations: 123 kB / 0.5807 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.1624, allocations: 155.8 kB / 0.5809 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009336/0.1717, allocations: 6.178 MB / 0.5869 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.1718, allocations: 31.73 kB / 0.5869 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/0.172, allocations: 83.89 kB / 0.587 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.1746, allocations: 1.433 MB / 0.5884 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2157/0.3903, allocations: 5.393 MB / 0.5937 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.4131, allocations: 24.81 MB / 0.6179 GB, free: 17.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.4175, allocations: 2.264 MB / 0.6201 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.4186, allocations: 0.8868 MB / 0.621 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.4188, allocations: 321.2 kB / 0.6213 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4189, allocations: 43.75 kB / 0.6213 GB, free: 15.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.4189, allocations: 0 / 0.6213 GB, free: 15.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02201/0.4409, allocations: 8.567 MB / 0.6297 GB, free: 11.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4409, allocations: 140.1 kB / 0.6298 GB, free: 11.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/0.4438, allocations: 2.636 MB / 0.6324 GB, free: 10.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.444, allocations: 41.3 kB / 0.6324 GB, free: 10 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008839/0.4449, allocations: 2.116 MB / 0.6345 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4452, allocations: 457.6 kB / 0.6349 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008599/0.446, allocations: 0.8657 MB / 0.6358 GB, free: 7.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.4461, allocations: 305.1 kB / 0.6361 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.4475, allocations: 1.337 MB / 0.6374 GB, free: 6.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.4497, allocations: 4.108 MB / 0.6414 GB, free: 1.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/0.4558, allocations: 5.931 MB / 0.6472 GB, free: 10.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-05/0.4559, allocations: 28 kB / 0.6472 GB, free: 10.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00973/0.4656, allocations: 5.497 MB / 0.6526 GB, free: 5.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.4657, allocations: 56.23 kB / 0.6526 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.4658, allocations: 96 kB / 0.6527 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.467, allocations: 460.5 kB / 0.6532 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/0.4699, allocations: 0.9747 MB / 0.6541 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/0.4745, allocations: 3.671 MB / 0.6577 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.4773, allocations: 231.6 kB / 0.6579 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004481/0.4778, allocations: 272 kB / 0.6582 GB, free: 15.52 MB / 478.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.00201/0.4798, allocations: 1.37 MB / 0.6595 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.4802, allocations: 230.5 kB / 0.6597 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.4828, allocations: 1.321 MB / 0.661 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.4829, allocations: 12 kB / 0.661 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.4829, allocations: 8 kB / 0.661 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4829, allocations: 3.984 kB / 0.6611 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007863/0.4908, allocations: 4.197 MB / 0.6651 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4908, allocations: 0 / 0.6651 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.4914, allocations: 135.8 kB / 0.6653 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009326/0.4924, allocations: 320.5 kB / 0.6656 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/0.4924, allocations: 16 kB / 0.6656 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.4962, allocations: 3.072 MB / 0.6686 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4962, allocations: 0 / 0.6686 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004663/0.5009, allocations: 3.083 MB / 0.6716 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006237/0.5015, allocations: 283.5 kB / 0.6719 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.5017, allocations: 15.94 kB / 0.6719 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.5025, allocations: 47.94 kB / 0.6719 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.5027, allocations: 56.34 kB / 0.672 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/0.5027, allocations: 28 kB / 0.672 GB, free: 1.105 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002552/0.5053, allocations: 1.627 MB / 0.6736 GB, free: 15.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5053, allocations: 4.062 kB / 0.6736 GB, free: 15.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00324/0.5085, allocations: 0.5897 MB / 0.6742 GB, free: 14.88 MB / 494.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.00514/0.5137, allocations: 3.697 MB / 0.6778 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005106/0.5188, allocations: 3.108 MB / 0.6808 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5188, allocations: 0 / 0.6808 GB, free: 8.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.52, allocations: 0.8021 MB / 0.6816 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.5215, allocations: 211.4 kB / 0.6818 GB, free: 7.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/0.5621, allocations: 28.35 MB / 0.7095 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/0.5646, allocations: 2.178 MB / 0.7116 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003014/0.5676, allocations: 1.387 MB / 0.713 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/0.569, allocations: 1.023 MB / 0.714 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/0.569, allocations: 0 / 0.714 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07657/0.6456, allocations: 38.66 MB / 0.7517 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.98/19.62, allocations: 18.58 kB / 0.7518 GB, free: 11.93 MB / 0.5606 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/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: 23.127167294034734]