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.001307/0.001308, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 62.45 MB / 481.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007329/0.122, allocations: 6.78 MB / 488.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.126, allocations: 2.429 MB / 490.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.1264, allocations: 31.94 kB / 490.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.1283, allocations: 1.051 MB / 491.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1299, allocations: 0.8362 MB / 492.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.1306, allocations: 307.2 kB / 492.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.1325, allocations: 1.864 MB / 494.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.134, allocations: 1.26 MB / 496 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008397/0.1348, allocations: 0.716 MB / 496.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1359, allocations: 0.9613 MB / 497.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.1361, allocations: 128 kB / 497.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1372, allocations: 0.7371 MB / 498.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006635/0.1379, allocations: 0.9153 MB / 499.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008221/0.1387, allocations: 1.125 MB / 0.4888 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.1417, allocations: 3.705 MB / 0.4925 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1417, allocations: 4 kB / 0.4925 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1417, allocations: 4 kB / 0.4925 GB, free: 13.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.364e-05/0.1418, allocations: 0 / 0.4925 GB, free: 13.6 MB / 382.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.003879/0.1457, allocations: 2.638 MB / 0.495 GB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1457, allocations: 8.031 kB / 0.4951 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.1505, allocations: 1.565 MB / 0.4966 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.1525, allocations: 1.088 MB / 0.4976 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.1526, allocations: 119.3 kB / 0.4978 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.1529, allocations: 155.9 kB / 0.4979 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007943/0.1609, allocations: 6.186 MB / 0.504 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.161, allocations: 27.75 kB / 0.504 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.1612, allocations: 87.88 kB / 0.5041 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2036/0.3648, allocations: 1.432 MB / 0.5055 GB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009263/0.3741, allocations: 5.389 MB / 0.5107 GB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.3973, allocations: 24.76 MB / 0.5349 GB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.4011, allocations: 2.336 MB / 0.5372 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.4022, allocations: 0.9945 MB / 0.5382 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.4025, allocations: 321.4 kB / 0.5385 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.4025, allocations: 42.69 kB / 0.5385 GB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.045e-06/0.4025, allocations: 0 / 0.5385 GB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01828/0.4208, allocations: 8.441 MB / 0.5467 GB, free: 9.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4209, allocations: 140.5 kB / 0.5469 GB, free: 9.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.4234, allocations: 2.641 MB / 0.5495 GB, free: 7.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.613e-05/0.4234, allocations: 33.7 kB / 0.5495 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/0.4242, allocations: 2.023 MB / 0.5515 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.4244, allocations: 437.8 kB / 0.5519 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/0.4251, allocations: 0.8686 MB / 0.5527 GB, free: 3.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.4252, allocations: 301.1 kB / 0.553 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.4266, allocations: 1.332 MB / 0.5543 GB, free: 2.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/0.4299, allocations: 4.106 MB / 0.5583 GB, free: 12.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006824/0.4367, allocations: 5.934 MB / 0.5641 GB, free: 5.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.431e-05/0.4368, allocations: 28 kB / 0.5641 GB, free: 5.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008787/0.4456, allocations: 5.492 MB / 0.5695 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/0.4458, allocations: 52.94 kB / 0.5696 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.835e-05/0.4458, allocations: 96 kB / 0.5697 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.4469, allocations: 464.5 kB / 0.5701 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/0.4495, allocations: 0.9746 MB / 0.571 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/0.4536, allocations: 3.67 MB / 0.5746 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.4563, allocations: 231.5 kB / 0.5749 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/0.4567, allocations: 272 kB / 0.5751 GB, free: 9.914 MB / 414.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.001809/0.4585, allocations: 1.368 MB / 0.5764 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.4589, allocations: 217.1 kB / 0.5767 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.461, allocations: 1.321 MB / 0.5779 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.4611, allocations: 12 kB / 0.578 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4611, allocations: 4 kB / 0.578 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4611, allocations: 16.59 kB / 0.578 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007206/0.4683, allocations: 4.211 MB / 0.5821 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4684, allocations: 0.875 kB / 0.5821 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.469, allocations: 135.9 kB / 0.5822 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008109/0.4698, allocations: 320.5 kB / 0.5825 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.4698, allocations: 12 kB / 0.5825 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/0.4729, allocations: 3.043 MB / 0.5855 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4729, allocations: 0 / 0.5855 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/0.4767, allocations: 3.061 MB / 0.5885 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.4772, allocations: 282 kB / 0.5888 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.4774, allocations: 16 kB / 0.5888 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.4781, allocations: 55.14 kB / 0.5888 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.4782, allocations: 48.38 kB / 0.5889 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/0.4783, allocations: 32.05 kB / 0.5889 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002035/0.4803, allocations: 1.625 MB / 0.5905 GB, free: 9.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.685e-06/0.4803, allocations: 0 / 0.5905 GB, free: 9.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002962/0.4833, allocations: 0.593 MB / 0.5911 GB, free: 9.316 MB / 430.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.0002983/0.4836, allocations: 140.2 kB / 0.5912 GB, free: 9.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004339/0.488, allocations: 3.224 MB / 0.5944 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.488, allocations: 192 / 0.5944 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.489, allocations: 0.8608 MB / 0.5952 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.4901, allocations: 204.9 kB / 0.5954 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/0.4981, allocations: 5.44 MB / 0.6007 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.5002, allocations: 2.171 MB / 0.6028 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00276/0.503, allocations: 1.387 MB / 0.6042 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.5034, allocations: 159.4 kB / 0.6043 GB, free: 11.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5034, allocations: 0 / 0.6043 GB, free: 11.65 MB / 446.1 MB Notification: Performance of Templates: time 0.03407/0.5375, allocations: 16.64 MB / 0.6206 GB, free: 11.07 MB / 462.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches