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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4019, allocations: 62.45 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008235/0.4102, allocations: 6.769 MB / 0.5376 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.4154, allocations: 2.431 MB / 0.54 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.4168, allocations: 30.66 kB / 0.54 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002397/0.4192, allocations: 1.057 MB / 0.541 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.4217, allocations: 0.8559 MB / 0.5419 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.4228, allocations: 314 kB / 0.5422 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.4264, allocations: 1.868 MB / 0.544 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.4289, allocations: 1.261 MB / 0.5452 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.4308, allocations: 0.7043 MB / 0.5459 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.433, allocations: 0.9653 MB / 0.5469 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006741/0.4337, allocations: 128 kB / 0.547 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.4359, allocations: 0.7293 MB / 0.5477 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.4375, allocations: 0.9309 MB / 0.5486 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.4396, allocations: 1.125 MB / 0.5497 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.4438, allocations: 3.713 MB / 0.5533 GB, free: 10.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.4438, allocations: 3.984 kB / 0.5533 GB, free: 10.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4438, allocations: 0 / 0.5533 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.219e-05/0.4439, allocations: 0 / 0.5533 GB, free: 10.94 MB / 414.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.004204/0.4481, allocations: 2.646 MB / 0.5559 GB, free: 8.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4481, allocations: 12.03 kB / 0.5559 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/0.4531, allocations: 1.561 MB / 0.5574 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.4549, allocations: 1.088 MB / 0.5585 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.455, allocations: 115.3 kB / 0.5586 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000285/0.4553, allocations: 159.9 kB / 0.5588 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007534/0.4628, allocations: 6.182 MB / 0.5648 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.4629, allocations: 23.81 kB / 0.5648 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.4631, allocations: 83.83 kB / 0.5649 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002236/0.4654, allocations: 1.441 MB / 0.5663 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008374/0.4737, allocations: 5.393 MB / 0.5716 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/0.4983, allocations: 24.76 MB / 0.5958 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/0.5027, allocations: 2.341 MB / 0.598 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.5039, allocations: 0.9964 MB / 0.599 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.5043, allocations: 334.9 kB / 0.5993 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5043, allocations: 46.5 kB / 0.5994 GB, free: 10.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.316e-06/0.5043, allocations: 0 / 0.5994 GB, free: 10.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02205/0.5264, allocations: 8.428 MB / 0.6076 GB, free: 1.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.5265, allocations: 140.5 kB / 0.6078 GB, free: 1.398 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.53, allocations: 2.635 MB / 0.6103 GB, free: 14.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.5302, allocations: 41.7 kB / 0.6104 GB, free: 14.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.5314, allocations: 2.013 MB / 0.6123 GB, free: 12.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/0.5318, allocations: 438.6 kB / 0.6127 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.533, allocations: 0.8648 MB / 0.6136 GB, free: 11.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.5331, allocations: 301.1 kB / 0.6139 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.535, allocations: 1.34 MB / 0.6152 GB, free: 9.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/0.539, allocations: 4.108 MB / 0.6192 GB, free: 4.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006148/0.5452, allocations: 5.934 MB / 0.625 GB, free: 12.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-05/0.5453, allocations: 28 kB / 0.625 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009702/0.555, allocations: 5.494 MB / 0.6304 GB, free: 7.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.5551, allocations: 44 kB / 0.6304 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/0.5552, allocations: 100 kB / 0.6305 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.5563, allocations: 461 kB / 0.631 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.5588, allocations: 0.9786 MB / 0.6319 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003897/0.5627, allocations: 3.657 MB / 0.6355 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.5652, allocations: 231.7 kB / 0.6357 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/0.5656, allocations: 275.9 kB / 0.636 GB, free: 1.469 MB / 494.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.001921/0.5675, allocations: 1.372 MB / 0.6373 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.5679, allocations: 217.2 kB / 0.6375 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.5702, allocations: 1.322 MB / 0.6388 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.5703, allocations: 12 kB / 0.6388 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5703, allocations: 4 kB / 0.6388 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5703, allocations: 3.984 kB / 0.6388 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/0.5775, allocations: 4.206 MB / 0.6429 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.5776, allocations: 0 / 0.6429 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.5782, allocations: 139.8 kB / 0.6431 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008295/0.579, allocations: 316.6 kB / 0.6434 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.5791, allocations: 20 kB / 0.6434 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.5825, allocations: 3.07 MB / 0.6464 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5825, allocations: 4.031 kB / 0.6464 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/0.5867, allocations: 3.066 MB / 0.6494 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.5872, allocations: 274.2 kB / 0.6496 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.5875, allocations: 16 kB / 0.6497 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/0.5884, allocations: 47.94 kB / 0.6497 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.5886, allocations: 56.31 kB / 0.6498 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/0.5886, allocations: 39.97 kB / 0.6498 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002796/0.5914, allocations: 1.625 MB / 0.6514 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5915, allocations: 0 / 0.6514 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003733/0.5952, allocations: 0.5742 MB / 0.6519 GB, free: 0.8164 MB / 0.4981 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.000414/0.5956, allocations: 147 kB / 0.6521 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005223/0.6009, allocations: 3.232 MB / 0.6552 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6009, allocations: 0 / 0.6552 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.602, allocations: 0.8694 MB / 0.6561 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.6035, allocations: 217.6 kB / 0.6563 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/0.6128, allocations: 5.429 MB / 0.6616 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.6152, allocations: 2.171 MB / 0.6637 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003069/0.6183, allocations: 1.391 MB / 0.6651 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.6189, allocations: 155.4 kB / 0.6652 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.6189, allocations: 0 / 0.6652 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of Templates: time 0.03722/0.6561, allocations: 18.11 MB / 0.6829 GB, free: 1.043 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (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) 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) Reference file matches