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.001314/0.001314, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001497/0.001497, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.2162/0.2162, allocations: 44.94 MB / 359.6 MB, free: 6.117 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.002308/0.002308, allocations: 67.88 kB / 0.4938 GB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3135, allocations: 65.47 MB / 0.5577 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008519/0.322, allocations: 5.999 MB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.327, allocations: 2.302 MB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008689/0.3279, allocations: 31.88 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.3304, allocations: 1.028 MB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.3327, allocations: 0.8714 MB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009108/0.3336, allocations: 307.3 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.3362, allocations: 1.872 MB / 0.5698 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.3376, allocations: 1.092 MB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009778/0.3386, allocations: 0.7199 MB / 0.5716 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.34, allocations: 1.063 MB / 0.5726 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.3403, allocations: 128 kB / 0.5728 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.3415, allocations: 0.6474 MB / 0.5734 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009528/0.3425, allocations: 0.9501 MB / 0.5743 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009117/0.3434, allocations: 0.799 MB / 0.5751 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004277/0.3477, allocations: 3.73 MB / 0.5787 GB, free: 1.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3477, allocations: 3.984 kB / 0.5787 GB, free: 1.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3477, allocations: 0 / 0.5787 GB, free: 1.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.574e-05/0.3478, allocations: 0 / 0.5787 GB, free: 1.973 MB / 414.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.004819/0.3526, allocations: 2.643 MB / 0.5813 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3526, allocations: 12.03 kB / 0.5813 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.324e-05/0.3527, allocations: 63.2 kB / 0.5814 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005517/0.3533, allocations: 462.3 kB / 0.5818 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.3586, allocations: 1.582 MB / 0.5834 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.3609, allocations: 1.027 MB / 0.5844 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.361, allocations: 119 kB / 0.5845 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004081/0.3614, allocations: 155.8 kB / 0.5846 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/0.371, allocations: 6.178 MB / 0.5907 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/0.371, allocations: 27.75 kB / 0.5907 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.3713, allocations: 87.89 kB / 0.5908 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002493/0.3738, allocations: 1.445 MB / 0.5922 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009779/0.3835, allocations: 5.385 MB / 0.5975 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02821/0.4118, allocations: 23.88 MB / 0.6208 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/0.4163, allocations: 1.815 MB / 0.6225 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.4175, allocations: 0.8824 MB / 0.6234 GB, free: 2.789 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.4178, allocations: 87.8 kB / 0.6235 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.4178, allocations: 46.5 kB / 0.6235 GB, free: 2.648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.827e-06/0.4178, allocations: 0 / 0.6235 GB, free: 2.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02392/0.4417, allocations: 8.397 MB / 0.6317 GB, free: 10.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.4418, allocations: 136.5 kB / 0.6319 GB, free: 10.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/0.4456, allocations: 2.636 MB / 0.6344 GB, free: 7.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.4457, allocations: 41.69 kB / 0.6345 GB, free: 7.309 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.4475, allocations: 2.108 MB / 0.6365 GB, free: 5.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000562/0.448, allocations: 456.6 kB / 0.637 GB, free: 4.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.4492, allocations: 0.8734 MB / 0.6378 GB, free: 3.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4493, allocations: 301.1 kB / 0.6381 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.4514, allocations: 1.336 MB / 0.6394 GB, free: 2.203 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004457/0.4558, allocations: 4.104 MB / 0.6434 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007739/0.4635, allocations: 5.944 MB / 0.6492 GB, free: 5.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.4637, allocations: 28 kB / 0.6493 GB, free: 5.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01087/0.4745, allocations: 5.495 MB / 0.6546 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.4746, allocations: 51.94 kB / 0.6547 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002081/0.4748, allocations: 104.1 kB / 0.6548 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.4761, allocations: 456.5 kB / 0.6552 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/0.4792, allocations: 0.9708 MB / 0.6562 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.4837, allocations: 3.538 MB / 0.6596 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.4865, allocations: 231.7 kB / 0.6598 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006967/0.4872, allocations: 272 kB / 0.6601 GB, free: 10.12 MB / 0.4981 GB 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.002358/0.4896, allocations: 1.372 MB / 0.6614 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/0.4901, allocations: 230.5 kB / 0.6617 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.4927, allocations: 1.318 MB / 0.6629 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.4928, allocations: 12.28 kB / 0.663 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.4928, allocations: 8 kB / 0.663 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4928, allocations: 3.984 kB / 0.663 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.5008, allocations: 4.006 MB / 0.6669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.5008, allocations: 0 / 0.6669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.5015, allocations: 139.8 kB / 0.667 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/0.5024, allocations: 320.5 kB / 0.6673 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.96e-05/0.5025, allocations: 16 kB / 0.6673 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.5063, allocations: 2.951 MB / 0.6702 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5063, allocations: 0 / 0.6702 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.5108, allocations: 3.078 MB / 0.6732 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.5114, allocations: 214.3 kB / 0.6734 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.5116, allocations: 12 kB / 0.6734 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007461/0.5124, allocations: 48.06 kB / 0.6735 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.5126, allocations: 64.2 kB / 0.6735 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.5126, allocations: 32 kB / 0.6736 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002702/0.5153, allocations: 1.632 MB / 0.6752 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5153, allocations: 0 / 0.6752 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003295/0.5186, allocations: 0.5859 MB / 0.6757 GB, free: 9.863 MB / 0.5137 GB 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.00522/0.5238, allocations: 3.683 MB / 0.6793 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005729/0.5296, allocations: 3.1 MB / 0.6824 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5296, allocations: 4 kB / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.5308, allocations: 0.8132 MB / 0.6832 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5323, allocations: 214.7 kB / 0.6834 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04528/0.5776, allocations: 28.4 MB / 0.7111 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.5797, allocations: 1.598 MB / 0.7127 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00295/0.5826, allocations: 1.391 MB / 0.714 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.5841, allocations: 1.023 MB / 0.715 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.5841, allocations: 3.938 kB / 0.715 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3109/0.895, allocations: 39.9 MB / 0.754 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.68/21.57, allocations: 6.344 kB / 0.754 GB, free: 146.9 MB / 0.5606 GB " [Timeout remaining time 638] (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: 25.078197421040386]