Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001508/0.001508, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001663/0.001663, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.351/1.351, allocations: 230.5 MB / 258.1 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.92 MB / 361.5 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.88 kB / 0.4974 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3026, allocations: 66.07 MB / 0.5619 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008112/0.3107, allocations: 6.83 MB / 0.5686 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.3153, allocations: 2.468 MB / 0.571 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.3159, allocations: 31.88 kB / 0.571 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.318, allocations: 1.074 MB / 0.5721 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.3197, allocations: 0.8675 MB / 0.5729 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.3204, allocations: 311.2 kB / 0.5732 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.3226, allocations: 1.868 MB / 0.5751 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.3238, allocations: 1.098 MB / 0.5761 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008455/0.3247, allocations: 0.7161 MB / 0.5768 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.326, allocations: 1.063 MB / 0.5779 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.3262, allocations: 128 kB / 0.578 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3275, allocations: 0.7605 MB / 0.5787 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008507/0.3283, allocations: 0.9579 MB / 0.5797 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009959/0.3293, allocations: 1.129 MB / 0.5808 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.3334, allocations: 3.726 MB / 0.5844 GB, free: 13.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3334, allocations: 0 / 0.5844 GB, free: 13.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3334, allocations: 0 / 0.5844 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.934e-05/0.3335, allocations: 0 / 0.5844 GB, free: 13.07 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.004222/0.3377, allocations: 2.647 MB / 0.587 GB, free: 10.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3377, allocations: 12.03 kB / 0.587 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.3427, allocations: 1.575 MB / 0.5886 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.3448, allocations: 1.019 MB / 0.5895 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.3449, allocations: 119.3 kB / 0.5897 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.3452, allocations: 160 kB / 0.5898 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008414/0.3536, allocations: 6.186 MB / 0.5959 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.437e-05/0.3537, allocations: 23.75 kB / 0.5959 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.3539, allocations: 83.89 kB / 0.596 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/0.3563, allocations: 1.445 MB / 0.5974 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008759/0.3651, allocations: 5.389 MB / 0.6026 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.392, allocations: 24.71 MB / 0.6268 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004312/0.3963, allocations: 1.81 MB / 0.6285 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.3974, allocations: 0.8824 MB / 0.6294 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.3977, allocations: 99.72 kB / 0.6295 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.3977, allocations: 46.5 kB / 0.6295 GB, free: 13.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.867e-06/0.3977, allocations: 0 / 0.6295 GB, free: 13.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02147/0.4192, allocations: 8.333 MB / 0.6377 GB, free: 5.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.4193, allocations: 144.5 kB / 0.6378 GB, free: 4.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.4231, allocations: 2.64 MB / 0.6404 GB, free: 2.199 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/0.4232, allocations: 37.7 kB / 0.6404 GB, free: 2.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.4248, allocations: 2.104 MB / 0.6425 GB, free: 32 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.4253, allocations: 456.8 kB / 0.6429 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.4264, allocations: 0.8734 MB / 0.6438 GB, free: 14.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4265, allocations: 301.1 kB / 0.644 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.4285, allocations: 1.332 MB / 0.6453 GB, free: 13.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/0.4327, allocations: 4.112 MB / 0.6494 GB, free: 7.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006822/0.4395, allocations: 5.936 MB / 0.6552 GB, free: 224 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.456e-05/0.4396, allocations: 28 kB / 0.6552 GB, free: 196 kB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008973/0.4485, allocations: 5.494 MB / 0.6606 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.4486, allocations: 48 kB / 0.6606 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/0.4487, allocations: 104 kB / 0.6607 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.4499, allocations: 465.2 kB / 0.6611 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.4527, allocations: 0.9708 MB / 0.6621 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.4571, allocations: 3.562 MB / 0.6656 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.4595, allocations: 243.6 kB / 0.6658 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/0.4599, allocations: 268 kB / 0.6661 GB, free: 4.941 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.002051/0.462, allocations: 1.365 MB / 0.6674 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.4624, allocations: 230.4 kB / 0.6676 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.4648, allocations: 1.322 MB / 0.6689 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.4649, allocations: 16 kB / 0.6689 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4649, allocations: 4 kB / 0.6689 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4649, allocations: 3.984 kB / 0.6689 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007684/0.4726, allocations: 4.182 MB / 0.673 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.4726, allocations: 0 / 0.673 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.4732, allocations: 139.8 kB / 0.6731 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008437/0.474, allocations: 308.6 kB / 0.6734 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.4741, allocations: 27.98 kB / 0.6735 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.4776, allocations: 2.959 MB / 0.6763 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4776, allocations: 0 / 0.6763 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.4819, allocations: 3.076 MB / 0.6794 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.4824, allocations: 214.2 kB / 0.6796 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/0.4827, allocations: 12 kB / 0.6796 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007829/0.4835, allocations: 48.12 kB / 0.6796 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4836, allocations: 64.33 kB / 0.6797 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.4837, allocations: 35.92 kB / 0.6797 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002644/0.4863, allocations: 1.625 MB / 0.6813 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4863, allocations: 0 / 0.6813 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002906/0.4893, allocations: 0.5936 MB / 0.6819 GB, free: 4.496 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.0003258/0.4896, allocations: 135 kB / 0.682 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005125/0.4947, allocations: 3.094 MB / 0.685 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4947, allocations: 0 / 0.685 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.4959, allocations: 0.8144 MB / 0.6858 GB, free: 460 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.4972, allocations: 219.4 kB / 0.686 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.5076, allocations: 5.85 MB / 0.6917 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.5101, allocations: 2.174 MB / 0.6939 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/0.5107, allocations: 191.4 kB / 0.6941 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.5107, allocations: 0 / 0.6941 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.2879/0.7987, allocations: 46.16 MB / 0.7391 GB, free: 156.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.996025362052023]