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.001372/0.001372, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 344.8 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 84.97 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 62.44 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008276/0.1168, allocations: 6.77 MB / 487.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.1216, allocations: 2.438 MB / 489.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008904/0.1225, allocations: 31.88 kB / 489.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.125, allocations: 1.047 MB / 491 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.1273, allocations: 0.8401 MB / 491.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.1283, allocations: 303.3 kB / 492.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.1308, allocations: 1.861 MB / 494 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.1327, allocations: 1.26 MB / 495.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.1339, allocations: 0.7121 MB / 495.9 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.1355, allocations: 0.9574 MB / 496.9 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004641/0.1359, allocations: 132 kB / 497 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.1375, allocations: 0.7292 MB / 497.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.1385, allocations: 0.9154 MB / 498.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.1401, allocations: 1.125 MB / 499.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.1441, allocations: 3.532 MB / 0.4915 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1442, allocations: 0 / 0.4915 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1442, allocations: 0 / 0.4915 GB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001274/0.1443, allocations: 0 / 0.4915 GB, free: 14.57 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.005796/0.1501, allocations: 2.65 MB / 0.4941 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1502, allocations: 8.031 kB / 0.4941 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005558/0.1558, allocations: 1.565 MB / 0.4957 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.1579, allocations: 1.065 MB / 0.4967 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.158, allocations: 127.2 kB / 0.4968 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004893/0.1585, allocations: 159.9 kB / 0.497 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.1685, allocations: 6.186 MB / 0.503 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.47e-05/0.1686, allocations: 27.75 kB / 0.503 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.1691, allocations: 83.89 kB / 0.5031 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.1716, allocations: 1.433 MB / 0.5045 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1944/0.366, allocations: 5.394 MB / 0.5098 GB, free: 36.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.389, allocations: 24.88 MB / 0.5341 GB, free: 18.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.3931, allocations: 2.336 MB / 0.5364 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.3941, allocations: 0.9848 MB / 0.5373 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.3944, allocations: 317.8 kB / 0.5376 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3945, allocations: 46.53 kB / 0.5377 GB, free: 16.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.346e-06/0.3945, allocations: 0 / 0.5377 GB, free: 16.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01945/0.4139, allocations: 8.44 MB / 0.5459 GB, free: 10.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.414, allocations: 140.5 kB / 0.5461 GB, free: 10.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.4166, allocations: 2.627 MB / 0.5486 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.4167, allocations: 37.7 kB / 0.5487 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007332/0.4174, allocations: 2.023 MB / 0.5506 GB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.4177, allocations: 438.1 kB / 0.551 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007771/0.4185, allocations: 0.8687 MB / 0.5519 GB, free: 4.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.4186, allocations: 309.1 kB / 0.5522 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.42, allocations: 1.332 MB / 0.5535 GB, free: 2.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/0.423, allocations: 4.106 MB / 0.5575 GB, free: 13.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006475/0.4295, allocations: 5.934 MB / 0.5633 GB, free: 6.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.964e-05/0.4296, allocations: 28 kB / 0.5633 GB, free: 6.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009748/0.4393, allocations: 5.49 MB / 0.5687 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.4394, allocations: 48 kB / 0.5687 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.4396, allocations: 96 kB / 0.5688 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.4406, allocations: 471.8 kB / 0.5693 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.4434, allocations: 0.9708 MB / 0.5702 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004154/0.4476, allocations: 3.67 MB / 0.5738 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.4503, allocations: 231.5 kB / 0.574 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/0.4507, allocations: 271.8 kB / 0.5743 GB, free: 10.79 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.001954/0.4527, allocations: 1.372 MB / 0.5756 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.4531, allocations: 213.2 kB / 0.5758 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.4554, allocations: 1.325 MB / 0.5771 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.4555, allocations: 12 kB / 0.5771 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4555, allocations: 12.34 kB / 0.5771 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4555, allocations: 3.984 kB / 0.5771 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007247/0.4628, allocations: 4.23 MB / 0.5813 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.4628, allocations: 4.875 kB / 0.5813 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.4635, allocations: 143.8 kB / 0.5814 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008331/0.4643, allocations: 312.5 kB / 0.5817 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.4644, allocations: 24 kB / 0.5817 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.4677, allocations: 3.034 MB / 0.5847 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4677, allocations: 4.031 kB / 0.5847 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/0.4718, allocations: 3.06 MB / 0.5877 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.4724, allocations: 266.2 kB / 0.5879 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.4726, allocations: 28.67 kB / 0.588 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.4734, allocations: 43.94 kB / 0.588 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.4735, allocations: 60.25 kB / 0.5881 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.4736, allocations: 33.95 kB / 0.5881 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.4759, allocations: 1.625 MB / 0.5897 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4759, allocations: 0 / 0.5897 GB, free: 10.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003069/0.479, allocations: 0.5846 MB / 0.5903 GB, free: 10.16 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.0003536/0.4793, allocations: 142.7 kB / 0.5904 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005341/0.4847, allocations: 3.471 MB / 0.5938 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.4847, allocations: 0 / 0.5938 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.4859, allocations: 0.8671 MB / 0.5946 GB, free: 5.703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.4874, allocations: 201.2 kB / 0.5948 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.4978, allocations: 5.798 MB / 0.6005 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.4999, allocations: 2.171 MB / 0.6026 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/0.5005, allocations: 187.4 kB / 0.6028 GB, free: 13.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5005, allocations: 0 / 0.6028 GB, free: 13.27 MB / 446.1 MB Notification: Performance of Templates: time 0.06557/0.5661, allocations: 45.62 MB / 0.6473 GB, free: 15.69 MB / 494.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 -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