Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001834/0.001834, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002218/0.002218, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 46.96 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3059, allocations: 66.02 MB / 0.5613 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008842/0.3148, allocations: 6.009 MB / 0.5672 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005575/0.3203, allocations: 2.296 MB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.3212, allocations: 35.88 kB / 0.5695 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.3236, allocations: 1.028 MB / 0.5705 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.3261, allocations: 0.8713 MB / 0.5713 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000989/0.3271, allocations: 307.2 kB / 0.5716 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002838/0.33, allocations: 1.861 MB / 0.5734 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.3316, allocations: 1.103 MB / 0.5745 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.3328, allocations: 0.7122 MB / 0.5752 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.3344, allocations: 1.059 MB / 0.5763 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.3347, allocations: 132 kB / 0.5764 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.3361, allocations: 0.6551 MB / 0.577 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.3372, allocations: 0.9462 MB / 0.5779 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.3382, allocations: 0.7873 MB / 0.5787 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004349/0.3425, allocations: 3.738 MB / 0.5824 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3425, allocations: 4 kB / 0.5824 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3425, allocations: 0 / 0.5824 GB, free: 14.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.499e-05/0.3426, allocations: 0 / 0.5824 GB, free: 14.57 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.004538/0.3471, allocations: 2.651 MB / 0.585 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3472, allocations: 8.031 kB / 0.585 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.77e-05/0.3473, allocations: 59.2 kB / 0.585 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005469/0.3478, allocations: 458.4 kB / 0.5855 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005333/0.3531, allocations: 1.586 MB / 0.587 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.3553, allocations: 1.027 MB / 0.588 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.3554, allocations: 123 kB / 0.5881 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/0.3558, allocations: 159.8 kB / 0.5883 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009799/0.3656, allocations: 6.174 MB / 0.5943 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.3657, allocations: 27.75 kB / 0.5943 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.3659, allocations: 83.89 kB / 0.5944 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.3684, allocations: 1.437 MB / 0.5958 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009796/0.3782, allocations: 5.396 MB / 0.6011 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02817/0.4063, allocations: 23.86 MB / 0.6244 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/0.4108, allocations: 1.819 MB / 0.6262 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.412, allocations: 0.8785 MB / 0.627 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.4123, allocations: 95.73 kB / 0.6271 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.4123, allocations: 42.56 kB / 0.6272 GB, free: 15.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.296e-06/0.4123, allocations: 0 / 0.6272 GB, free: 15.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02311/0.4354, allocations: 8.385 MB / 0.6353 GB, free: 6.797 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.4355, allocations: 144.5 kB / 0.6355 GB, free: 6.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.4392, allocations: 2.636 MB / 0.6381 GB, free: 3.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.4393, allocations: 41.7 kB / 0.6381 GB, free: 3.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.4409, allocations: 2.108 MB / 0.6402 GB, free: 1.789 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/0.4414, allocations: 452.6 kB / 0.6406 GB, free: 1.344 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.4425, allocations: 0.8734 MB / 0.6414 GB, free: 468 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4427, allocations: 313.1 kB / 0.6417 GB, free: 152 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.4447, allocations: 1.332 MB / 0.643 GB, free: 14.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004303/0.449, allocations: 4.104 MB / 0.647 GB, free: 9.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007435/0.4564, allocations: 5.934 MB / 0.6528 GB, free: 1.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.515e-05/0.4565, allocations: 28 kB / 0.6529 GB, free: 1.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01077/0.4673, allocations: 5.497 MB / 0.6582 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.4673, allocations: 48 kB / 0.6583 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.4675, allocations: 100 kB / 0.6584 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.4687, allocations: 456.5 kB / 0.6588 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.4718, allocations: 0.9749 MB / 0.6598 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.4764, allocations: 3.546 MB / 0.6632 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.4791, allocations: 235.7 kB / 0.6635 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005502/0.4797, allocations: 276 kB / 0.6637 GB, free: 6.723 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.002482/0.4822, allocations: 1.368 MB / 0.6651 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005179/0.4827, allocations: 230.5 kB / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.4854, allocations: 1.318 MB / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.4854, allocations: 15.98 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4854, allocations: 4 kB / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4855, allocations: 3.984 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007815/0.4933, allocations: 4.008 MB / 0.6705 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4933, allocations: 0 / 0.6705 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.4939, allocations: 135.8 kB / 0.6706 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009454/0.4949, allocations: 316.5 kB / 0.6709 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.495, allocations: 19.98 kB / 0.6709 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003772/0.4987, allocations: 2.943 MB / 0.6738 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4987, allocations: 0 / 0.6738 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.5034, allocations: 3.087 MB / 0.6768 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005974/0.504, allocations: 206.3 kB / 0.677 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.5043, allocations: 16 kB / 0.677 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/0.505, allocations: 51.88 kB / 0.6771 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.5052, allocations: 56.33 kB / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.831e-05/0.5052, allocations: 24 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002731/0.508, allocations: 1.628 MB / 0.6788 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.508, allocations: 0 / 0.6788 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003936/0.5119, allocations: 0.5936 MB / 0.6793 GB, free: 6.48 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.005215/0.5171, allocations: 3.696 MB / 0.683 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00566/0.5228, allocations: 3.106 MB / 0.686 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.5228, allocations: 0 / 0.686 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.5241, allocations: 0.8055 MB / 0.6868 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.5256, allocations: 212.4 kB / 0.687 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04472/0.5703, allocations: 28.41 MB / 0.7147 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002239/0.5726, allocations: 1.598 MB / 0.7163 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003089/0.5757, allocations: 1.387 MB / 0.7176 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/0.5771, allocations: 1.023 MB / 0.7186 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.5771, allocations: 0 / 0.7186 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/0.8623, allocations: 39.91 MB / 0.7576 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.74/21.6, allocations: 7.594 kB / 0.7576 GB, free: 140.7 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.207111928029917]