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.001691/0.001691, allocations: 111.8 kB / 19.13 MB, free: 3.922 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.002058/0.002058, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.466/1.466, allocations: 227.4 MB / 252.3 MB, free: 108 kB / 190.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.2477/0.2477, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.002231/0.002231, allocations: 78.3 kB / 490.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1167, allocations: 62.45 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008982/0.1257, allocations: 6.782 MB / 0.5469 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.1314, allocations: 2.426 MB / 0.5493 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.1324, allocations: 35.88 kB / 0.5493 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.1349, allocations: 1.051 MB / 0.5504 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.1371, allocations: 0.8362 MB / 0.5512 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.138, allocations: 307.2 kB / 0.5515 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.1408, allocations: 1.869 MB / 0.5533 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.1424, allocations: 1.26 MB / 0.5545 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1435, allocations: 0.7082 MB / 0.5552 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.1449, allocations: 0.9692 MB / 0.5562 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.1452, allocations: 128 kB / 0.5563 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1467, allocations: 0.7254 MB / 0.557 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009465/0.1476, allocations: 0.9154 MB / 0.5579 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.1488, allocations: 1.125 MB / 0.559 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00458/0.1534, allocations: 3.73 MB / 0.5626 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1534, allocations: 0 / 0.5626 GB, free: 13.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1534, allocations: 0 / 0.5626 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.246e-05/0.1535, allocations: 0 / 0.5626 GB, free: 13.3 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.004909/0.1584, allocations: 2.723 MB / 0.5653 GB, free: 10.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1585, allocations: 8.031 kB / 0.5653 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005465/0.164, allocations: 1.582 MB / 0.5669 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.1661, allocations: 1.077 MB / 0.5679 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1663, allocations: 119.3 kB / 0.568 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/0.1666, allocations: 160 kB / 0.5682 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.177, allocations: 6.186 MB / 0.5742 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-05/0.1771, allocations: 27.75 kB / 0.5742 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.1774, allocations: 79.88 kB / 0.5743 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00263/0.18, allocations: 1.441 MB / 0.5757 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.1904, allocations: 5.397 MB / 0.581 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.2222, allocations: 24.8 MB / 0.6052 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2717/0.4939, allocations: 2.338 MB / 0.6075 GB, free: 58.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.4951, allocations: 0.988 MB / 0.6085 GB, free: 58.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.4955, allocations: 328.9 kB / 0.6088 GB, free: 58.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4955, allocations: 47.17 kB / 0.6088 GB, free: 58.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.567e-06/0.4955, allocations: 2.391 kB / 0.6088 GB, free: 58.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02246/0.518, allocations: 8.57 MB / 0.6172 GB, free: 55.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.5181, allocations: 142.5 kB / 0.6173 GB, free: 54.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/0.5216, allocations: 2.639 MB / 0.6199 GB, free: 53.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.5217, allocations: 41.11 kB / 0.6199 GB, free: 53.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.5231, allocations: 2.112 MB / 0.622 GB, free: 52.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/0.5235, allocations: 457 kB / 0.6224 GB, free: 52.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.5246, allocations: 0.8664 MB / 0.6233 GB, free: 51.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.5247, allocations: 305.1 kB / 0.6236 GB, free: 51.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.5266, allocations: 1.334 MB / 0.6249 GB, free: 50.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.5293, allocations: 4.107 MB / 0.6289 GB, free: 46.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004757/0.5341, allocations: 5.923 MB / 0.6347 GB, free: 41.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.867e-05/0.5342, allocations: 28.53 kB / 0.6347 GB, free: 41.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007802/0.542, allocations: 5.515 MB / 0.6401 GB, free: 39.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.5421, allocations: 53.69 kB / 0.6401 GB, free: 39.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.283e-05/0.5422, allocations: 99.88 kB / 0.6402 GB, free: 39.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009189/0.5431, allocations: 454 kB / 0.6407 GB, free: 39.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.5455, allocations: 0.9749 MB / 0.6416 GB, free: 38.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.5485, allocations: 3.674 MB / 0.6452 GB, free: 35.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/0.5515, allocations: 235.6 kB / 0.6454 GB, free: 35.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004007/0.5519, allocations: 279.9 kB / 0.6457 GB, free: 34.9 MB / 462.1 MB 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.001592/0.5535, allocations: 1.366 MB / 0.647 GB, free: 33.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/0.5539, allocations: 230.5 kB / 0.6473 GB, free: 33.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.5558, allocations: 1.322 MB / 0.6485 GB, free: 31.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.5558, allocations: 16 kB / 0.6486 GB, free: 31.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5558, allocations: 4 kB / 0.6486 GB, free: 31.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5559, allocations: 11.81 kB / 0.6486 GB, free: 31.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0054/0.5613, allocations: 4.184 MB / 0.6527 GB, free: 27.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5613, allocations: 0 / 0.6527 GB, free: 27.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.5619, allocations: 139.8 kB / 0.6528 GB, free: 27.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007208/0.5626, allocations: 316.6 kB / 0.6531 GB, free: 27.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.5627, allocations: 31.11 kB / 0.6531 GB, free: 27.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.5651, allocations: 3.07 MB / 0.6561 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5651, allocations: 3.938 kB / 0.6561 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.5683, allocations: 3.083 MB / 0.6591 GB, free: 20.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.5687, allocations: 283.5 kB / 0.6594 GB, free: 20.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.569, allocations: 15.98 kB / 0.6594 GB, free: 20.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.5696, allocations: 47.94 kB / 0.6595 GB, free: 20.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.5698, allocations: 48.31 kB / 0.6595 GB, free: 20.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-05/0.5699, allocations: 35.98 kB / 0.6596 GB, free: 20.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001699/0.5716, allocations: 1.628 MB / 0.6611 GB, free: 18.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5716, allocations: 0 / 0.6611 GB, free: 18.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002941/0.5745, allocations: 0.5855 MB / 0.6617 GB, free: 18.26 MB / 462.1 MB 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.0002715/0.5748, allocations: 142.9 kB / 0.6618 GB, free: 18.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003909/0.5787, allocations: 3.228 MB / 0.665 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5787, allocations: 0 / 0.665 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.5796, allocations: 0.8639 MB / 0.6658 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.5811, allocations: 213 kB / 0.666 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007458/0.5886, allocations: 5.807 MB / 0.6717 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.5901, allocations: 2.175 MB / 0.6738 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.5906, allocations: 183.4 kB / 0.674 GB, free: 5.594 MB / 462.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5906, allocations: 4 kB / 0.674 GB, free: 5.59 MB / 462.1 MB Notification: Performance of Templates: time 0.06468/0.6553, allocations: 46.06 MB / 0.719 GB, free: 7.586 MB / 0.4981 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.82891132705845]