Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002033/0.002033, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2325/0.2325, allocations: 46.93 MB / 361.4 MB, free: 4.488 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 79.86 kB / 0.4972 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3282, allocations: 66.03 MB / 0.5616 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008935/0.3371, allocations: 6.837 MB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.3424, allocations: 2.465 MB / 0.5707 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/0.3431, allocations: 35.88 kB / 0.5708 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.3454, allocations: 1.07 MB / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.3474, allocations: 0.8636 MB / 0.5726 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.3483, allocations: 315.2 kB / 0.5729 GB, free: 8.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002491/0.3508, allocations: 1.872 MB / 0.5748 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.352, allocations: 0.9586 MB / 0.5757 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.353, allocations: 0.7238 MB / 0.5764 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.3545, allocations: 1.063 MB / 0.5775 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.3547, allocations: 128 kB / 0.5776 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.3561, allocations: 0.7643 MB / 0.5783 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009392/0.3571, allocations: 0.9501 MB / 0.5792 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.3581, allocations: 1.125 MB / 0.5803 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.3625, allocations: 3.73 MB / 0.584 GB, free: 13.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3625, allocations: 0 / 0.584 GB, free: 13.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3625, allocations: 0 / 0.584 GB, free: 13.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.739e-05/0.3626, allocations: 0 / 0.584 GB, free: 13.55 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.006174/0.3687, allocations: 2.651 MB / 0.5866 GB, free: 10.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.3688, allocations: 8.031 kB / 0.5866 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/0.3741, allocations: 1.586 MB / 0.5881 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.3763, allocations: 1.015 MB / 0.5891 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-05/0.3764, allocations: 115.3 kB / 0.5892 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/0.3767, allocations: 160 kB / 0.5894 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009336/0.3861, allocations: 6.182 MB / 0.5954 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.3861, allocations: 31.69 kB / 0.5955 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.3863, allocations: 83.88 kB / 0.5955 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002448/0.3888, allocations: 1.437 MB / 0.5969 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009578/0.3984, allocations: 5.396 MB / 0.6022 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02951/0.4279, allocations: 24.71 MB / 0.6263 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.4323, allocations: 1.809 MB / 0.6281 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.4335, allocations: 0.8848 MB / 0.629 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.4338, allocations: 99.58 kB / 0.6291 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.4338, allocations: 42.56 kB / 0.6291 GB, free: 13.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.947e-06/0.4338, allocations: 0 / 0.6291 GB, free: 13.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02208/0.4559, allocations: 8.331 MB / 0.6372 GB, free: 5.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.456, allocations: 140.5 kB / 0.6374 GB, free: 5.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.4598, allocations: 2.64 MB / 0.64 GB, free: 2.668 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.4599, allocations: 41.7 kB / 0.64 GB, free: 2.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.4618, allocations: 2.104 MB / 0.642 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/0.4623, allocations: 460.6 kB / 0.6425 GB, free: 44 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.4634, allocations: 0.8695 MB / 0.6433 GB, free: 15.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4636, allocations: 305.1 kB / 0.6436 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.4656, allocations: 1.328 MB / 0.6449 GB, free: 13.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/0.4703, allocations: 4.116 MB / 0.6489 GB, free: 8.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007963/0.4783, allocations: 5.928 MB / 0.6547 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.353e-05/0.4783, allocations: 28 kB / 0.6548 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009975/0.4883, allocations: 5.503 MB / 0.6601 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-05/0.4884, allocations: 51.98 kB / 0.6602 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.4885, allocations: 100 kB / 0.6603 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.4896, allocations: 461 kB / 0.6607 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.4926, allocations: 0.9747 MB / 0.6617 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.4976, allocations: 3.561 MB / 0.6651 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.5002, allocations: 235.7 kB / 0.6654 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000397/0.5006, allocations: 268 kB / 0.6656 GB, free: 5.414 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.002036/0.5027, allocations: 1.373 MB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/0.5032, allocations: 230.4 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.5059, allocations: 1.318 MB / 0.6685 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.5059, allocations: 12 kB / 0.6685 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.506, allocations: 4 kB / 0.6685 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.506, allocations: 3.984 kB / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007696/0.5137, allocations: 4.174 MB / 0.6726 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.5137, allocations: 4 kB / 0.6726 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.5143, allocations: 147.8 kB / 0.6727 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.5153, allocations: 308.6 kB / 0.673 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.5153, allocations: 19.98 kB / 0.673 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.5192, allocations: 2.967 MB / 0.6759 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5192, allocations: 0 / 0.6759 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/0.5241, allocations: 3.079 MB / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.5246, allocations: 210.5 kB / 0.6791 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.5248, allocations: 16 kB / 0.6791 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/0.5256, allocations: 47.88 kB / 0.6792 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.5257, allocations: 56.33 kB / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.5258, allocations: 44.03 kB / 0.6793 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003039/0.5288, allocations: 1.625 MB / 0.6809 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5288, allocations: 0 / 0.6809 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003232/0.5321, allocations: 0.5858 MB / 0.6814 GB, free: 4.969 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.0003537/0.5324, allocations: 142.9 kB / 0.6816 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005357/0.5378, allocations: 3.107 MB / 0.6846 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5378, allocations: 0 / 0.6846 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.539, allocations: 0.8014 MB / 0.6854 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.5403, allocations: 211.7 kB / 0.6856 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/0.5503, allocations: 5.57 MB / 0.691 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/0.5527, allocations: 2.167 MB / 0.6932 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003151/0.5559, allocations: 1.379 MB / 0.6945 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.5563, allocations: 159.4 kB / 0.6947 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.5563, allocations: 0 / 0.6947 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of Templates: time 0.04718/0.6035, allocations: 21.26 MB / 0.7154 GB, free: 2.129 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.412169458344579]