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.001265/0.001265, allocations: 118 kB / 18.46 MB, free: 4.594 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.001358/0.001358, allocations: 211.4 kB / 21.41 MB, free: 1.645 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.458/1.458, allocations: 227.4 MB / 251.6 MB, free: 68 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.2216/0.2216, allocations: 46.17 MB / 351.1 MB, free: 14.37 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.002208/0.002208, allocations: 82.47 kB / 490.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1305, allocations: 62.44 MB / 0.5397 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009017/0.1396, allocations: 6.782 MB / 0.5463 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005393/0.145, allocations: 2.426 MB / 0.5487 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000926/0.146, allocations: 31.94 kB / 0.5487 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.1482, allocations: 1.059 MB / 0.5497 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.1508, allocations: 0.8323 MB / 0.5505 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.1517, allocations: 303.3 kB / 0.5508 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.1545, allocations: 1.867 MB / 0.5527 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.1561, allocations: 1.252 MB / 0.5539 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.1571, allocations: 0.7121 MB / 0.5546 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.1584, allocations: 0.9653 MB / 0.5555 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.1587, allocations: 132 kB / 0.5556 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.16, allocations: 0.7293 MB / 0.5564 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008495/0.1609, allocations: 0.9154 MB / 0.5572 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.1619, allocations: 1.129 MB / 0.5583 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004189/0.1661, allocations: 3.718 MB / 0.562 GB, free: 13.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.1662, allocations: 7.984 kB / 0.562 GB, free: 13.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1662, allocations: 0 / 0.562 GB, free: 13.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.381e-05/0.1663, allocations: 0 / 0.562 GB, free: 13.31 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.004443/0.1707, allocations: 2.719 MB / 0.5646 GB, free: 10.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1708, allocations: 8.031 kB / 0.5646 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005292/0.176, allocations: 1.586 MB / 0.5662 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.1781, allocations: 1.077 MB / 0.5672 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.1782, allocations: 115.3 kB / 0.5674 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.1785, allocations: 168 kB / 0.5675 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009566/0.1881, allocations: 6.174 MB / 0.5735 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.648e-05/0.1882, allocations: 31.73 kB / 0.5736 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.1885, allocations: 83.89 kB / 0.5737 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/0.191, allocations: 1.445 MB / 0.5751 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.2011, allocations: 5.385 MB / 0.5803 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.2308, allocations: 24.81 MB / 0.6046 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2795/0.5104, allocations: 2.338 MB / 0.6068 GB, free: 58.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.5117, allocations: 0.9948 MB / 0.6078 GB, free: 58.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.512, allocations: 333.8 kB / 0.6081 GB, free: 58.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5121, allocations: 39.72 kB / 0.6082 GB, free: 58.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.096e-06/0.5121, allocations: 0 / 0.6082 GB, free: 58.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02336/0.5354, allocations: 8.567 MB / 0.6165 GB, free: 54.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.5355, allocations: 145.6 kB / 0.6167 GB, free: 54.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003795/0.5393, allocations: 2.636 MB / 0.6192 GB, free: 53.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.5395, allocations: 40.77 kB / 0.6193 GB, free: 53.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.5409, allocations: 2.115 MB / 0.6214 GB, free: 52.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.5414, allocations: 456.1 kB / 0.6218 GB, free: 52.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009506/0.5423, allocations: 0.8649 MB / 0.6226 GB, free: 51.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.5424, allocations: 305.8 kB / 0.6229 GB, free: 51.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.5444, allocations: 1.332 MB / 0.6242 GB, free: 50.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.5474, allocations: 4.113 MB / 0.6282 GB, free: 46.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004902/0.5523, allocations: 5.922 MB / 0.634 GB, free: 41.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-05/0.5524, allocations: 28.88 kB / 0.6341 GB, free: 41.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007402/0.5598, allocations: 5.511 MB / 0.6394 GB, free: 39.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.5599, allocations: 46.41 kB / 0.6395 GB, free: 39.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-05/0.5599, allocations: 103.2 kB / 0.6396 GB, free: 39.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008777/0.5608, allocations: 457.3 kB / 0.64 GB, free: 39.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.563, allocations: 0.9741 MB / 0.641 GB, free: 38.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.5659, allocations: 3.673 MB / 0.6446 GB, free: 35.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.5686, allocations: 241.4 kB / 0.6448 GB, free: 35.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/0.5689, allocations: 270.9 kB / 0.645 GB, free: 34.76 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.001412/0.5704, allocations: 1.374 MB / 0.6464 GB, free: 33.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.5707, allocations: 226.5 kB / 0.6466 GB, free: 33.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.5726, allocations: 1.325 MB / 0.6479 GB, free: 31.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.5726, allocations: 12 kB / 0.6479 GB, free: 31.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5726, allocations: 7.938 kB / 0.6479 GB, free: 31.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5727, allocations: 7.922 kB / 0.6479 GB, free: 31.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.578, allocations: 4.195 MB / 0.652 GB, free: 27.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.578, allocations: 0 / 0.652 GB, free: 27.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/0.5786, allocations: 135.8 kB / 0.6521 GB, free: 27.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/0.5794, allocations: 313.4 kB / 0.6524 GB, free: 27.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.5794, allocations: 27.88 kB / 0.6525 GB, free: 27.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.5818, allocations: 3.065 MB / 0.6555 GB, free: 23.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5818, allocations: 0 / 0.6555 GB, free: 23.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.585, allocations: 3.094 MB / 0.6585 GB, free: 20.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.5854, allocations: 283.3 kB / 0.6588 GB, free: 20.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.5856, allocations: 12 kB / 0.6588 GB, free: 20.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/0.5863, allocations: 47.94 kB / 0.6588 GB, free: 20.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5864, allocations: 64.36 kB / 0.6589 GB, free: 20.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.5865, allocations: 24 kB / 0.6589 GB, free: 20.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001675/0.5882, allocations: 1.628 MB / 0.6605 GB, free: 18.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5882, allocations: 3.938 kB / 0.6605 GB, free: 18.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002912/0.5911, allocations: 0.5859 MB / 0.6611 GB, free: 18.12 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.0002864/0.5914, allocations: 142.9 kB / 0.6612 GB, free: 17.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003913/0.5953, allocations: 3.22 MB / 0.6643 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5953, allocations: 0 / 0.6643 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000836/0.5962, allocations: 0.8688 MB / 0.6652 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5975, allocations: 204.9 kB / 0.6654 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/0.6046, allocations: 5.516 MB / 0.6708 GB, free: 8.137 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.6061, allocations: 2.168 MB / 0.6729 GB, free: 5.945 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002384/0.6085, allocations: 1.383 MB / 0.6742 GB, free: 4.555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.6089, allocations: 159.4 kB / 0.6744 GB, free: 4.398 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6089, allocations: 0 / 0.6744 GB, free: 4.398 MB / 462.1 MB Notification: Performance of Templates: time 0.03729/0.6462, allocations: 18.13 MB / 0.6921 GB, free: 2.387 MB / 478.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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: 6.165476783178747]