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.001235/0.001235, allocations: 96.98 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 197.7 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 45.92 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003423, allocations: 4 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 63.46 MB / 481.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01403/0.1362, allocations: 14.73 MB / 496.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009644/0.1459, allocations: 4.03 MB / 0.4884 GB, free: 2.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.1491, allocations: 71.81 kB / 0.4885 GB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.1513, allocations: 0.696 MB / 0.4892 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.158, allocations: 2.127 MB / 0.4912 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1591, allocations: 199.6 kB / 0.4914 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.1616, allocations: 1.115 MB / 0.4925 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.1642, allocations: 1.516 MB / 0.494 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009068/0.1651, allocations: 0.5371 MB / 0.4945 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.166, allocations: 0.689 MB / 0.4952 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.1662, allocations: 76 kB / 0.4953 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1674, allocations: 0.589 MB / 0.4959 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007578/0.1682, allocations: 0.8065 MB / 0.4966 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.1687, allocations: 480.1 kB / 0.4971 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.1716, allocations: 2.798 MB / 0.4998 GB, free: 6.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1716, allocations: 0 / 0.4998 GB, free: 6.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.1716, allocations: 0 / 0.4998 GB, free: 6.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.372e-05/0.1717, allocations: 0 / 0.4998 GB, free: 6.891 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.00422/0.1759, allocations: 2.29 MB / 0.5021 GB, free: 4.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.176, allocations: 12.02 kB / 0.5021 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006028/0.182, allocations: 1.888 MB / 0.5039 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.1845, allocations: 1.06 MB / 0.505 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.169e-05/0.1846, allocations: 114.9 kB / 0.5051 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.185, allocations: 151.9 kB / 0.5052 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.293/0.4779, allocations: 6.202 MB / 0.5113 GB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.773e-05/0.4781, allocations: 23.83 kB / 0.5113 GB, free: 38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.4784, allocations: 79.62 kB / 0.5114 GB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/0.4816, allocations: 1.443 MB / 0.5128 GB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.4948, allocations: 5.41 MB / 0.5181 GB, free: 36.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.5243, allocations: 24.9 MB / 0.5424 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004161/0.5285, allocations: 2.374 MB / 0.5447 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.5289, allocations: 328.6 kB / 0.545 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5289, allocations: 42.56 kB / 0.545 GB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.887e-06/0.5289, allocations: 0 / 0.545 GB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02005/0.549, allocations: 8.788 MB / 0.5536 GB, free: 5.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.5491, allocations: 148.5 kB / 0.5538 GB, free: 5.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.5518, allocations: 2.624 MB / 0.5563 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.5519, allocations: 41.7 kB / 0.5564 GB, free: 2.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000917/0.5528, allocations: 2.023 MB / 0.5583 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.5532, allocations: 434.3 kB / 0.5588 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5534, allocations: 85.05 kB / 0.5588 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003062/0.5537, allocations: 0.4916 MB / 0.5593 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.5556, allocations: 1.308 MB / 0.5606 GB, free: 14.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004114/0.5597, allocations: 4.083 MB / 0.5646 GB, free: 8.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.5628, allocations: 2.286 MB / 0.5668 GB, free: 6.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-05/0.5629, allocations: 28 kB / 0.5668 GB, free: 6.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008989/0.5719, allocations: 5.452 MB / 0.5722 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/0.572, allocations: 48 kB / 0.5722 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.269e-05/0.5721, allocations: 100 kB / 0.5723 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.5731, allocations: 476.6 kB / 0.5728 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/0.5758, allocations: 0.9747 MB / 0.5737 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.5801, allocations: 3.467 MB / 0.5771 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.5837, allocations: 231.5 kB / 0.5773 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000639/0.5843, allocations: 282.5 kB / 0.5776 GB, free: 11.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002632/0.587, allocations: 1.357 MB / 0.5789 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.5875, allocations: 225.1 kB / 0.5791 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.5898, allocations: 1.318 MB / 0.5804 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.5899, allocations: 15.98 kB / 0.5804 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5899, allocations: 4 kB / 0.5804 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5899, allocations: 11.94 kB / 0.5805 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007698/0.5976, allocations: 4.239 MB / 0.5846 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.5976, allocations: 0 / 0.5846 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.5983, allocations: 139.8 kB / 0.5847 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008043/0.5991, allocations: 309.8 kB / 0.585 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/0.5992, allocations: 23.95 kB / 0.585 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/0.6023, allocations: 2.903 MB / 0.5879 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6023, allocations: 4.031 kB / 0.5879 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/0.6063, allocations: 3.115 MB / 0.5909 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.607, allocations: 278 kB / 0.5912 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.6072, allocations: 16.7 kB / 0.5912 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.6079, allocations: 44.64 kB / 0.5912 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.608, allocations: 56.38 kB / 0.5913 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.6081, allocations: 32.94 kB / 0.5913 GB, free: 12.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002359/0.6104, allocations: 1.613 MB / 0.5929 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6105, allocations: 0 / 0.5929 GB, free: 11.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003141/0.6136, allocations: 0.6113 MB / 0.5935 GB, free: 10.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003371/0.6139, allocations: 137 kB / 0.5936 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00484/0.6188, allocations: 3.193 MB / 0.5968 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6188, allocations: 0 / 0.5968 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6199, allocations: 0.8532 MB / 0.5976 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.6208, allocations: 195.1 kB / 0.5978 GB, free: 6.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.6316, allocations: 6.427 MB / 0.604 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.6341, allocations: 2.218 MB / 0.6062 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003405/0.6375, allocations: 1.387 MB / 0.6076 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/0.638, allocations: 155.4 kB / 0.6077 GB, free: 11.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.004e-06/0.638, allocations: 4 kB / 0.6077 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Templates: time 0.03936/0.6774, allocations: 19 MB / 0.6263 GB, free: 9.066 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 -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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches