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.007941/0.007941, allocations: 110 kB / 21.98 MB, free: 5.18 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.001536/0.001536, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.504/1.504, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2317/0.2317, allocations: 46.92 MB / 362.3 MB, free: 4.215 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.002351/0.002351, allocations: 79.86 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.413, allocations: 66.07 MB / 0.5627 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01024/0.4232, allocations: 6.838 MB / 0.5694 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.4292, allocations: 2.458 MB / 0.5718 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.4302, allocations: 31.88 kB / 0.5718 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.4326, allocations: 1.07 MB / 0.5729 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.4353, allocations: 0.8675 MB / 0.5737 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009073/0.4362, allocations: 311.2 kB / 0.574 GB, free: 8.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.4392, allocations: 1.869 MB / 0.5758 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.4409, allocations: 1.094 MB / 0.5769 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.4422, allocations: 0.7161 MB / 0.5776 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.4437, allocations: 1.059 MB / 0.5786 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.444, allocations: 128 kB / 0.5788 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.4456, allocations: 0.7721 MB / 0.5795 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.4466, allocations: 0.9501 MB / 0.5804 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.4478, allocations: 1.129 MB / 0.5815 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005384/0.4532, allocations: 3.73 MB / 0.5852 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4532, allocations: 0 / 0.5852 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4532, allocations: 0 / 0.5852 GB, free: 13.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.977e-05/0.4533, allocations: 0 / 0.5852 GB, free: 13.14 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.005498/0.4588, allocations: 2.643 MB / 0.5878 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4589, allocations: 12.03 kB / 0.5878 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/0.4641, allocations: 1.578 MB / 0.5893 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.4667, allocations: 1.019 MB / 0.5903 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.4669, allocations: 119.3 kB / 0.5904 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.4672, allocations: 160 kB / 0.5906 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.4777, allocations: 6.178 MB / 0.5966 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.631e-05/0.4778, allocations: 23.81 kB / 0.5966 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.478, allocations: 83.89 kB / 0.5967 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/0.4805, allocations: 1.437 MB / 0.5981 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.4912, allocations: 5.4 MB / 0.6034 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03351/0.5248, allocations: 24.72 MB / 0.6275 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.5293, allocations: 1.811 MB / 0.6293 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.5306, allocations: 0.8824 MB / 0.6302 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.5309, allocations: 103.7 kB / 0.6303 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.5309, allocations: 42.5 kB / 0.6303 GB, free: 13.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.697e-06/0.5309, allocations: 0 / 0.6303 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02268/0.5536, allocations: 8.327 MB / 0.6384 GB, free: 5.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5537, allocations: 136.5 kB / 0.6386 GB, free: 4.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/0.5577, allocations: 2.644 MB / 0.6411 GB, free: 2.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.5579, allocations: 37.7 kB / 0.6412 GB, free: 2.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.5596, allocations: 2.104 MB / 0.6432 GB, free: 108 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/0.5601, allocations: 452.6 kB / 0.6437 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.5613, allocations: 0.8812 MB / 0.6445 GB, free: 14.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5614, allocations: 301.1 kB / 0.6448 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.5635, allocations: 1.332 MB / 0.6461 GB, free: 13.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/0.5681, allocations: 4.108 MB / 0.6501 GB, free: 7.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007813/0.576, allocations: 5.94 MB / 0.6559 GB, free: 300 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.209e-05/0.576, allocations: 28 kB / 0.656 GB, free: 272 kB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01016/0.5862, allocations: 5.497 MB / 0.6613 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.5863, allocations: 48 kB / 0.6614 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.5864, allocations: 100.9 kB / 0.6615 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.5875, allocations: 460.5 kB / 0.6619 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/0.5905, allocations: 0.9747 MB / 0.6629 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/0.5952, allocations: 3.578 MB / 0.6664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.5982, allocations: 227.7 kB / 0.6666 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005273/0.5988, allocations: 276 kB / 0.6668 GB, free: 5.008 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.00232/0.6011, allocations: 1.369 MB / 0.6682 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005087/0.6016, allocations: 230.4 kB / 0.6684 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.6042, allocations: 1.322 MB / 0.6697 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/0.6042, allocations: 12 kB / 0.6697 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.6042, allocations: 4 kB / 0.6697 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6042, allocations: 3.984 kB / 0.6697 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/0.6121, allocations: 4.182 MB / 0.6738 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6121, allocations: 0 / 0.6738 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/0.6127, allocations: 135.8 kB / 0.6739 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008898/0.6136, allocations: 316.5 kB / 0.6742 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.6137, allocations: 20 kB / 0.6742 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.6175, allocations: 2.954 MB / 0.6771 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6175, allocations: 7.969 kB / 0.6771 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/0.6222, allocations: 3.079 MB / 0.6801 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.6228, allocations: 218.4 kB / 0.6803 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.623, allocations: 16.08 kB / 0.6804 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/0.6237, allocations: 51.92 kB / 0.6804 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.6239, allocations: 52.33 kB / 0.6805 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.6239, allocations: 32 kB / 0.6805 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002603/0.6265, allocations: 1.628 MB / 0.6821 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6265, allocations: 0 / 0.6821 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003134/0.6297, allocations: 0.5897 MB / 0.6827 GB, free: 4.566 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.0003446/0.63, allocations: 139 kB / 0.6828 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005336/0.6354, allocations: 3.099 MB / 0.6858 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.6354, allocations: 448 / 0.6858 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.6366, allocations: 0.8133 MB / 0.6866 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6379, allocations: 198.6 kB / 0.6868 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.6483, allocations: 5.862 MB / 0.6925 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.6507, allocations: 2.167 MB / 0.6946 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/0.6514, allocations: 195.4 kB / 0.6948 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/0.6514, allocations: 0 / 0.6948 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of Templates: time 0.371/1.022, allocations: 46.18 MB / 0.7399 GB, free: 156.6 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: 11.545586799969897]