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.001471/0.001471, allocations: 113.1 kB / 21.85 MB, free: 84 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.001644/0.001644, allocations: 214 kB / 25.13 MB, free: 3.609 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.375/1.375, 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.2208/0.2208, allocations: 46.93 MB / 362 MB, free: 4.258 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.002178/0.002178, allocations: 79.86 kB / 0.4978 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3181, allocations: 66.08 MB / 0.5623 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008149/0.3263, allocations: 6.763 MB / 0.5689 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.3307, allocations: 2.458 MB / 0.5713 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005784/0.3313, allocations: 35.88 kB / 0.5714 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.3334, allocations: 1.074 MB / 0.5724 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.3352, allocations: 0.867 MB / 0.5733 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.3359, allocations: 299.3 kB / 0.5735 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.3381, allocations: 1.869 MB / 0.5754 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.3393, allocations: 1.103 MB / 0.5764 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008585/0.3402, allocations: 0.7199 MB / 0.5771 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.3415, allocations: 1.055 MB / 0.5782 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.3417, allocations: 132 kB / 0.5783 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.3428, allocations: 0.6513 MB / 0.5789 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008589/0.3437, allocations: 0.9501 MB / 0.5799 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.3447, allocations: 1.129 MB / 0.581 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.3488, allocations: 3.729 MB / 0.5846 GB, free: 13.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3488, allocations: 4 kB / 0.5846 GB, free: 13.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3488, allocations: 0 / 0.5846 GB, free: 13.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.435e-05/0.3488, allocations: 0 / 0.5846 GB, free: 13.36 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.004263/0.3531, allocations: 2.651 MB / 0.5872 GB, free: 10.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3531, allocations: 11.97 kB / 0.5872 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/0.3579, allocations: 1.578 MB / 0.5888 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.3599, allocations: 1.015 MB / 0.5897 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/0.3599, allocations: 115.3 kB / 0.5899 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.3602, allocations: 160 kB / 0.59 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008363/0.3686, allocations: 6.182 MB / 0.596 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.3687, allocations: 27.75 kB / 0.5961 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.3689, allocations: 87.89 kB / 0.5962 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002364/0.3712, allocations: 1.448 MB / 0.5976 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008988/0.3802, allocations: 5.381 MB / 0.6028 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.407, allocations: 24.64 MB / 0.6269 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00408/0.4111, allocations: 1.801 MB / 0.6286 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.4123, allocations: 0.8863 MB / 0.6295 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.4125, allocations: 99.72 kB / 0.6296 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4125, allocations: 42.5 kB / 0.6296 GB, free: 13.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.585e-06/0.4125, allocations: 4 kB / 0.6296 GB, free: 13.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02101/0.4335, allocations: 8.378 MB / 0.6378 GB, free: 5.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/0.4336, allocations: 140.5 kB / 0.638 GB, free: 5.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.4371, allocations: 2.636 MB / 0.6405 GB, free: 2.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.904e-05/0.4372, allocations: 41.7 kB / 0.6406 GB, free: 2.473 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.4388, allocations: 2.104 MB / 0.6426 GB, free: 356 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.4392, allocations: 456.8 kB / 0.6431 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.4402, allocations: 0.8734 MB / 0.6439 GB, free: 15.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4404, allocations: 305.1 kB / 0.6442 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.4423, allocations: 1.336 MB / 0.6455 GB, free: 13.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004285/0.4465, allocations: 4.108 MB / 0.6495 GB, free: 7.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006958/0.4535, allocations: 5.934 MB / 0.6553 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.473e-05/0.4536, allocations: 28 kB / 0.6553 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008964/0.4625, allocations: 5.492 MB / 0.6607 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.4626, allocations: 52.91 kB / 0.6608 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.4627, allocations: 111.9 kB / 0.6609 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.4638, allocations: 456.5 kB / 0.6613 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.4664, allocations: 0.9747 MB / 0.6623 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004323/0.4707, allocations: 3.566 MB / 0.6657 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.4733, allocations: 235.6 kB / 0.666 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/0.4737, allocations: 268.1 kB / 0.6662 GB, free: 5.254 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.001947/0.4757, allocations: 1.366 MB / 0.6676 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.476, allocations: 234.5 kB / 0.6678 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.4784, allocations: 1.318 MB / 0.6691 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.4784, allocations: 16 kB / 0.6691 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4784, allocations: 0 / 0.6691 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4784, allocations: 8.266 kB / 0.6691 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006972/0.4854, allocations: 4.174 MB / 0.6732 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4854, allocations: 3.938 kB / 0.6732 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.486, allocations: 143.7 kB / 0.6733 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008382/0.4868, allocations: 316.5 kB / 0.6736 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.4869, allocations: 23.98 kB / 0.6736 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/0.4904, allocations: 2.959 MB / 0.6765 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4904, allocations: 4.031 kB / 0.6765 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/0.4947, allocations: 3.079 MB / 0.6795 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.4952, allocations: 210.3 kB / 0.6797 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.4954, allocations: 16 kB / 0.6797 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.4961, allocations: 43.94 kB / 0.6798 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.4963, allocations: 60.27 kB / 0.6798 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.4963, allocations: 28 kB / 0.6799 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002366/0.4987, allocations: 1.628 MB / 0.6815 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4987, allocations: 0 / 0.6815 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002821/0.5015, allocations: 0.5975 MB / 0.682 GB, free: 4.805 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.0003145/0.5018, allocations: 135.1 kB / 0.6822 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005322/0.5071, allocations: 3.088 MB / 0.6852 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5071, allocations: 7.938 kB / 0.6852 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.5083, allocations: 0.8131 MB / 0.686 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5097, allocations: 206.5 kB / 0.6862 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009565/0.5193, allocations: 5.857 MB / 0.6919 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/0.5215, allocations: 2.171 MB / 0.694 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/0.5221, allocations: 191.4 kB / 0.6942 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.333e-06/0.5221, allocations: 0 / 0.6942 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.2956/0.8177, allocations: 46.18 MB / 0.7393 GB, free: 157.1 MB / 0.5606 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/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: 10.232797374017537]