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.00147/0.00147, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00178/0.00178, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.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.2467/0.2467, allocations: 46.94 MB / 360.8 MB, free: 3.922 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.003194/0.003194, allocations: 79.86 kB / 0.4966 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3749, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01135/0.3863, allocations: 6.038 MB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005007/0.3913, allocations: 2.298 MB / 0.5693 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006307/0.3919, allocations: 35.88 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.3942, allocations: 1.039 MB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.3962, allocations: 0.8597 MB / 0.5712 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.397, allocations: 319.2 kB / 0.5715 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.3994, allocations: 1.861 MB / 0.5733 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.4007, allocations: 1.086 MB / 0.5744 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.4018, allocations: 0.7277 MB / 0.5751 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.4032, allocations: 1.02 MB / 0.5761 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.4035, allocations: 132 kB / 0.5762 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.4048, allocations: 0.6395 MB / 0.5768 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009953/0.4058, allocations: 0.9462 MB / 0.5778 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008821/0.4067, allocations: 0.7912 MB / 0.5785 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.4111, allocations: 3.738 MB / 0.5822 GB, free: 14.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4111, allocations: 0 / 0.5822 GB, free: 14.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4111, allocations: 0 / 0.5822 GB, free: 14.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.057e-05/0.4112, allocations: 0 / 0.5822 GB, free: 14.33 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.004752/0.4159, allocations: 2.647 MB / 0.5848 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.416, allocations: 11.97 kB / 0.5848 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/0.4214, allocations: 1.586 MB / 0.5863 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.4238, allocations: 1.023 MB / 0.5873 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.4239, allocations: 119.3 kB / 0.5874 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.4242, allocations: 160 kB / 0.5876 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009468/0.4337, allocations: 6.186 MB / 0.5936 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.009e-05/0.4338, allocations: 19.81 kB / 0.5936 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/0.434, allocations: 79.89 kB / 0.5937 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.4366, allocations: 1.448 MB / 0.5951 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.4466, allocations: 5.377 MB / 0.6004 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.4757, allocations: 23.34 MB / 0.6232 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004563/0.4802, allocations: 1.815 MB / 0.625 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.4821, allocations: 0.8785 MB / 0.6258 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.4825, allocations: 87.8 kB / 0.6259 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.4825, allocations: 54.42 kB / 0.626 GB, free: 88 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 4.869e-06/0.4825, allocations: 0 / 0.626 GB, free: 88 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02478/0.5073, allocations: 8.346 MB / 0.6341 GB, free: 7.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5074, allocations: 136.5 kB / 0.6342 GB, free: 7.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/0.5122, allocations: 2.449 MB / 0.6366 GB, free: 5.008 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.5124, allocations: 41.7 kB / 0.6367 GB, free: 4.961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.5145, allocations: 2.139 MB / 0.6388 GB, free: 2.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007651/0.5152, allocations: 452.6 kB / 0.6392 GB, free: 2.352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/0.5171, allocations: 0.8811 MB / 0.64 GB, free: 1.457 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.5173, allocations: 334 kB / 0.6404 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.5197, allocations: 1.332 MB / 0.6417 GB, free: 15.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/0.5253, allocations: 4.112 MB / 0.6457 GB, free: 10.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00845/0.5337, allocations: 5.942 MB / 0.6515 GB, free: 2.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/0.5339, allocations: 28 kB / 0.6515 GB, free: 2.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01161/0.5455, allocations: 5.466 MB / 0.6568 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.5456, allocations: 48 kB / 0.6569 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/0.5458, allocations: 96 kB / 0.657 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.5471, allocations: 464.5 kB / 0.6574 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/0.5504, allocations: 0.9747 MB / 0.6584 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.5554, allocations: 3.515 MB / 0.6618 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.5583, allocations: 227.8 kB / 0.662 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007049/0.559, allocations: 276 kB / 0.6623 GB, free: 7.762 MB / 0.4981 GB 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.002831/0.5618, allocations: 1.365 MB / 0.6636 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.5623, allocations: 202.6 kB / 0.6638 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.5649, allocations: 1.303 MB / 0.6651 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.565, allocations: 12 kB / 0.6651 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.565, allocations: 4 kB / 0.6651 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.565, allocations: 3.984 kB / 0.6651 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007919/0.5729, allocations: 3.605 MB / 0.6686 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.5729, allocations: 0 / 0.6686 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.5736, allocations: 139.8 kB / 0.6688 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009048/0.5745, allocations: 320.5 kB / 0.6691 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.5746, allocations: 19.98 kB / 0.6691 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/0.5783, allocations: 2.921 MB / 0.6719 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5783, allocations: 0 / 0.6719 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.583, allocations: 3.055 MB / 0.6749 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005387/0.5835, allocations: 178.7 kB / 0.6751 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.5839, allocations: 19.94 kB / 0.6751 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/0.5847, allocations: 43.94 kB / 0.6752 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.5849, allocations: 56.33 kB / 0.6752 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.5849, allocations: 24 kB / 0.6752 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002657/0.5876, allocations: 1.378 MB / 0.6766 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5876, allocations: 3.938 kB / 0.6766 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003675/0.5913, allocations: 0.5781 MB / 0.6771 GB, free: 8.312 MB / 0.5137 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.0003995/0.5917, allocations: 139 kB / 0.6773 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005414/0.5971, allocations: 3.094 MB / 0.6803 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5971, allocations: 4.188 kB / 0.6803 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.5983, allocations: 0.8144 MB / 0.6811 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.5995, allocations: 179 kB / 0.6813 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.6098, allocations: 5.515 MB / 0.6867 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.6123, allocations: 1.598 MB / 0.6882 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003239/0.6155, allocations: 1.362 MB / 0.6895 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/0.616, allocations: 139.4 kB / 0.6897 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of SimCode: time 1.954e-06/0.616, allocations: 3.938 kB / 0.6897 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.04066/0.6567, allocations: 18.77 MB / 0.708 GB, free: 8.852 MB / 0.545 GB " [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.1.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.172502471134067]