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.001213/0.001213, allocations: 117 kB / 21.85 MB, free: 72 kB / 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.001408/0.001408, allocations: 213.1 kB / 25.13 MB, free: 3.582 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.489/1.489, allocations: 230.4 MB / 258.7 MB, free: 8.059 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.2235/0.2235, allocations: 46.94 MB / 362 MB, free: 4.246 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.002336/0.002336, allocations: 83.86 kB / 0.4978 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3301, allocations: 66.07 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009085/0.3392, allocations: 6.768 MB / 0.5689 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.3443, allocations: 2.457 MB / 0.5713 GB, free: 11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/0.345, allocations: 35.88 kB / 0.5714 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.3473, allocations: 1.066 MB / 0.5724 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.3493, allocations: 0.8636 MB / 0.5732 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.3501, allocations: 319.2 kB / 0.5735 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.3528, allocations: 1.861 MB / 0.5754 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.3542, allocations: 1.094 MB / 0.5764 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.3554, allocations: 0.7238 MB / 0.5771 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.357, allocations: 1.063 MB / 0.5782 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.3573, allocations: 128 kB / 0.5783 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.3586, allocations: 0.6473 MB / 0.5789 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009609/0.3595, allocations: 0.9501 MB / 0.5799 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.3607, allocations: 1.125 MB / 0.581 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.3655, allocations: 3.738 MB / 0.5846 GB, free: 13.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3655, allocations: 0 / 0.5846 GB, free: 13.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3655, allocations: 0 / 0.5846 GB, free: 13.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001157/0.3656, allocations: 0 / 0.5846 GB, free: 13.33 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.005285/0.3709, allocations: 2.647 MB / 0.5872 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.371, allocations: 8.031 kB / 0.5872 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005224/0.3762, allocations: 1.586 MB / 0.5887 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.3784, allocations: 1.015 MB / 0.5897 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.3785, allocations: 119.3 kB / 0.5899 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.3789, allocations: 160 kB / 0.59 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.389, allocations: 6.182 MB / 0.596 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.237e-05/0.3891, allocations: 31.73 kB / 0.5961 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.3893, allocations: 83.89 kB / 0.5962 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/0.392, allocations: 1.441 MB / 0.5976 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.403, allocations: 5.385 MB / 0.6028 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.4348, allocations: 24.63 MB / 0.6269 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/0.4393, allocations: 1.813 MB / 0.6286 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.4406, allocations: 0.8885 MB / 0.6295 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.4409, allocations: 99.72 kB / 0.6296 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4409, allocations: 46.48 kB / 0.6296 GB, free: 13.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 4.178e-06/0.4409, allocations: 4 kB / 0.6296 GB, free: 13.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02286/0.4638, allocations: 8.37 MB / 0.6378 GB, free: 5.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4639, allocations: 140.5 kB / 0.638 GB, free: 5.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003946/0.4678, allocations: 2.64 MB / 0.6405 GB, free: 2.484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.468, allocations: 45.69 kB / 0.6406 GB, free: 2.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.4697, allocations: 2.104 MB / 0.6426 GB, free: 316 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/0.4702, allocations: 456.8 kB / 0.6431 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.4713, allocations: 0.8695 MB / 0.6439 GB, free: 14.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4715, allocations: 305.1 kB / 0.6442 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.4735, allocations: 1.336 MB / 0.6455 GB, free: 13.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004873/0.4784, allocations: 4.104 MB / 0.6495 GB, free: 7.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008077/0.4865, allocations: 5.944 MB / 0.6553 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.483e-05/0.4866, allocations: 28 kB / 0.6554 GB, free: 476 kB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.0109/0.4975, allocations: 5.499 MB / 0.6607 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.4976, allocations: 48 kB / 0.6608 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/0.4977, allocations: 100 kB / 0.6609 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.4988, allocations: 456.8 kB / 0.6613 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/0.502, allocations: 0.9786 MB / 0.6623 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/0.5065, allocations: 3.57 MB / 0.6657 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.5092, allocations: 227.8 kB / 0.666 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/0.5097, allocations: 280 kB / 0.6662 GB, free: 5.211 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.002024/0.5117, allocations: 1.365 MB / 0.6676 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.5121, allocations: 230.4 kB / 0.6678 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.5146, allocations: 1.325 MB / 0.6691 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.5146, allocations: 12 kB / 0.6691 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.5146, allocations: 0 / 0.6691 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.5146, allocations: 7.984 kB / 0.6691 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007441/0.5221, allocations: 4.174 MB / 0.6732 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5221, allocations: 4 kB / 0.6732 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.5227, allocations: 135.8 kB / 0.6733 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008753/0.5236, allocations: 312.5 kB / 0.6736 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.5237, allocations: 20 kB / 0.6736 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/0.5273, allocations: 2.966 MB / 0.6765 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5273, allocations: 7.969 kB / 0.6765 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.5318, allocations: 3.072 MB / 0.6795 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.5324, allocations: 210.3 kB / 0.6797 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.5326, allocations: 16 kB / 0.6797 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.5333, allocations: 43.94 kB / 0.6798 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.5334, allocations: 64.33 kB / 0.6798 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.5335, allocations: 28 kB / 0.6799 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002475/0.536, allocations: 1.625 MB / 0.6815 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.536, allocations: 0 / 0.6815 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003017/0.539, allocations: 0.6013 MB / 0.682 GB, free: 4.77 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.0003224/0.5393, allocations: 135 kB / 0.6822 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004921/0.5443, allocations: 3.095 MB / 0.6852 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5443, allocations: 0 / 0.6852 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.5455, allocations: 0.8018 MB / 0.686 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.5468, allocations: 224.4 kB / 0.6862 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009443/0.5563, allocations: 5.558 MB / 0.6916 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.5587, allocations: 2.171 MB / 0.6937 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002958/0.5616, allocations: 1.387 MB / 0.6951 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.562, allocations: 167.3 kB / 0.6953 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.562, allocations: 0 / 0.6953 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of Templates: time 0.04554/0.6076, allocations: 21.24 MB / 0.716 GB, free: 1.93 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 -s gbode -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/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-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.244495501974598]