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.001407/0.001407, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001648/0.001648, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2312/0.2312, allocations: 44.91 MB / 359.6 MB, free: 6.305 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: 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: 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.002081/0.002081, allocations: 70.09 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3492, allocations: 65.47 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009254/0.3585, allocations: 6.826 MB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.3637, allocations: 2.465 MB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.3643, allocations: 31.88 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.3665, allocations: 1.07 MB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3684, allocations: 0.8675 MB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.3692, allocations: 311.2 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.3714, allocations: 1.865 MB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.3727, allocations: 1.099 MB / 0.5724 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008939/0.3736, allocations: 0.7199 MB / 0.5731 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.3749, allocations: 1.059 MB / 0.5742 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.3752, allocations: 128 kB / 0.5743 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.3766, allocations: 0.776 MB / 0.575 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.3777, allocations: 0.9463 MB / 0.576 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.3791, allocations: 1.129 MB / 0.5771 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.3842, allocations: 3.729 MB / 0.5807 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3842, allocations: 0 / 0.5807 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3842, allocations: 0 / 0.5807 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.612e-05/0.3843, allocations: 0 / 0.5807 GB, free: 0.6094 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.004872/0.3891, allocations: 2.648 MB / 0.5833 GB, free: 13.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3892, allocations: 12.03 kB / 0.5833 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.3943, allocations: 1.578 MB / 0.5848 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.3968, allocations: 1.019 MB / 0.5858 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3969, allocations: 115.3 kB / 0.586 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.3972, allocations: 164 kB / 0.5861 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.4073, allocations: 6.178 MB / 0.5921 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.101e-05/0.4073, allocations: 23.75 kB / 0.5922 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.4076, allocations: 79.89 kB / 0.5922 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/0.4101, allocations: 1.445 MB / 0.5937 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.4203, allocations: 5.389 MB / 0.5989 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03033/0.4506, allocations: 24.71 MB / 0.623 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.455, allocations: 1.81 MB / 0.6248 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.4562, allocations: 0.8746 MB / 0.6257 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.4565, allocations: 111.6 kB / 0.6258 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4565, allocations: 42.55 kB / 0.6258 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/0.4565, allocations: 0 / 0.6258 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02217/0.4787, allocations: 8.342 MB / 0.634 GB, free: 8.562 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.4788, allocations: 140.5 kB / 0.6341 GB, free: 8.395 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.4824, allocations: 2.64 MB / 0.6367 GB, free: 5.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.4826, allocations: 45.69 kB / 0.6367 GB, free: 5.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.4843, allocations: 2.104 MB / 0.6388 GB, free: 3.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.4848, allocations: 452.6 kB / 0.6392 GB, free: 3.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.4859, allocations: 0.8773 MB / 0.6401 GB, free: 2.219 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.486, allocations: 301.1 kB / 0.6404 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.488, allocations: 1.336 MB / 0.6417 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/0.4931, allocations: 4.108 MB / 0.6457 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00812/0.5012, allocations: 5.93 MB / 0.6515 GB, free: 3.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.521e-05/0.5013, allocations: 28 kB / 0.6515 GB, free: 3.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01071/0.512, allocations: 5.497 MB / 0.6569 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.5121, allocations: 44 kB / 0.6569 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.5122, allocations: 100.9 kB / 0.657 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.5133, allocations: 460.5 kB / 0.6574 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.5163, allocations: 0.9746 MB / 0.6584 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/0.5208, allocations: 3.577 MB / 0.6619 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.5237, allocations: 231.6 kB / 0.6621 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/0.5242, allocations: 268 kB / 0.6624 GB, free: 8.473 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.002146/0.5263, allocations: 1.368 MB / 0.6637 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.5268, allocations: 234.5 kB / 0.6639 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.5293, allocations: 1.325 MB / 0.6652 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.5294, allocations: 12 kB / 0.6652 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.5294, allocations: 4 kB / 0.6652 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5294, allocations: 3.984 kB / 0.6652 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007923/0.5373, allocations: 4.178 MB / 0.6693 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.5373, allocations: 0 / 0.6693 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.538, allocations: 135.9 kB / 0.6694 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009011/0.5389, allocations: 316.5 kB / 0.6697 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.5389, allocations: 20 kB / 0.6698 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/0.5426, allocations: 2.963 MB / 0.6726 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5426, allocations: 4 kB / 0.6727 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/0.5472, allocations: 3.083 MB / 0.6757 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006687/0.5479, allocations: 210.4 kB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/0.5483, allocations: 20.06 kB / 0.6759 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009655/0.5493, allocations: 43.94 kB / 0.6759 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.5495, allocations: 60.33 kB / 0.676 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.5495, allocations: 24 kB / 0.676 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002537/0.5521, allocations: 1.625 MB / 0.6776 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5521, allocations: 0 / 0.6776 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00377/0.5558, allocations: 0.5936 MB / 0.6782 GB, free: 8.035 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.0003487/0.5562, allocations: 147 kB / 0.6783 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005215/0.5614, allocations: 3.091 MB / 0.6813 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5614, allocations: 0.5 kB / 0.6813 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.5626, allocations: 0.8135 MB / 0.6821 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.5643, allocations: 207.5 kB / 0.6823 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5759, allocations: 5.86 MB / 0.688 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002949/0.5788, allocations: 2.171 MB / 0.6902 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/0.5795, allocations: 191.4 kB / 0.6903 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.5795, allocations: 0 / 0.6903 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.3578/0.9373, allocations: 46.17 MB / 0.7354 GB, free: 157.3 MB / 0.5606 GB " [Timeout remaining time 659] 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/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: 11.188193999929354]