Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 110.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002616/0.002616, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.361/2.361, allocations: 222.9 MB / 242.5 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3967/0.3967, allocations: 44.17 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 62.88 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2222, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.03447/0.2568, allocations: 17.27 MB / 486.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.2721, allocations: 4.086 MB / 490.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005592/0.2778, allocations: 75.75 kB / 490.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.2817, allocations: 1.017 MB / 491.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.286, allocations: 0.8017 MB / 492.4 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.2875, allocations: 263.5 kB / 492.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005455/0.293, allocations: 2.777 MB / 495.5 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.2963, allocations: 1.261 MB / 496.7 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.2982, allocations: 0.6458 MB / 497.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.3007, allocations: 1.063 MB / 498.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006285/0.3014, allocations: 96 kB / 498.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.3038, allocations: 0.737 MB / 499.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.3055, allocations: 0.9192 MB / 0.4885 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002235/0.3078, allocations: 1.129 MB / 0.4896 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005712/0.3135, allocations: 2.854 MB / 0.4923 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.3136, allocations: 0 / 0.4923 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3136, allocations: 0 / 0.4923 GB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001753/0.3138, allocations: 4 kB / 0.4923 GB, free: 11.67 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.00964/0.3235, allocations: 2.661 MB / 0.4949 GB, free: 8.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/0.3236, allocations: 8.031 kB / 0.495 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00921/0.3328, allocations: 1.569 MB / 0.4965 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003956/0.3368, allocations: 1.065 MB / 0.4975 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3371, allocations: 115.3 kB / 0.4976 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009198/0.338, allocations: 163.9 kB / 0.4978 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4382/0.7763, allocations: 6.18 MB / 0.5038 GB, free: 47.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.7765, allocations: 24.39 kB / 0.5039 GB, free: 47.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004552/0.777, allocations: 86.02 kB / 0.5039 GB, free: 47.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006075/0.7831, allocations: 1.443 MB / 0.5053 GB, free: 47.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01994/0.8031, allocations: 5.384 MB / 0.5106 GB, free: 46.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04696/0.8501, allocations: 24.88 MB / 0.5349 GB, free: 26.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006763/0.857, allocations: 2.341 MB / 0.5372 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.8586, allocations: 0.9857 MB / 0.5381 GB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004601/0.8591, allocations: 327.3 kB / 0.5385 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.8592, allocations: 50.17 kB / 0.5385 GB, free: 24.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 7.013e-06/0.8592, allocations: 0 / 0.5385 GB, free: 24.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.03602/0.8952, allocations: 8.432 MB / 0.5467 GB, free: 16.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.8953, allocations: 144.5 kB / 0.5469 GB, free: 15.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006221/0.9016, allocations: 2.64 MB / 0.5495 GB, free: 13.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002923/0.9019, allocations: 41.69 kB / 0.5495 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.9037, allocations: 2.021 MB / 0.5515 GB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007371/0.9045, allocations: 442.6 kB / 0.5519 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002096/0.9066, allocations: 0.861 MB / 0.5527 GB, free: 9.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.9067, allocations: 305.1 kB / 0.553 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/0.9097, allocations: 1.332 MB / 0.5543 GB, free: 8.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004834/0.9146, allocations: 4.108 MB / 0.5583 GB, free: 2.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/0.925, allocations: 5.931 MB / 0.5641 GB, free: 11.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001689/0.9253, allocations: 28 kB / 0.5642 GB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.0183/0.9436, allocations: 5.489 MB / 0.5695 GB, free: 5.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.9438, allocations: 48 kB / 0.5696 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/0.9441, allocations: 100 kB / 0.5697 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.9458, allocations: 465.2 kB / 0.5701 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005305/0.9511, allocations: 0.9786 MB / 0.5711 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/0.958, allocations: 3.393 MB / 0.5744 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/0.9635, allocations: 239.6 kB / 0.5746 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.9647, allocations: 268 kB / 0.5749 GB, free: 324 kB / 398.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.004749/0.9695, allocations: 1.372 MB / 0.5762 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008633/0.9704, allocations: 217.1 kB / 0.5764 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.9749, allocations: 1.326 MB / 0.5777 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-05/0.975, allocations: 12 kB / 0.5777 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/0.9751, allocations: 4 kB / 0.5777 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.9751, allocations: 3.984 kB / 0.5777 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.9896, allocations: 4.239 MB / 0.5819 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/0.9897, allocations: 4 kB / 0.5819 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.9908, allocations: 143.8 kB / 0.582 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.9921, allocations: 312.5 kB / 0.5823 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.9923, allocations: 27.94 kB / 0.5823 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.9971, allocations: 2.831 MB / 0.5851 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.9971, allocations: 0 / 0.5851 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007309/1.004, allocations: 3.066 MB / 0.5881 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.006, allocations: 274.2 kB / 0.5883 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008263/1.006, allocations: 19.94 kB / 0.5884 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.008, allocations: 43.94 kB / 0.5884 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/1.008, allocations: 48.44 kB / 0.5885 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.009, allocations: 36.17 kB / 0.5885 GB, free: 2.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.005023/1.014, allocations: 1.625 MB / 0.5901 GB, free: 468 kB / 414.1 MB Notification: Performance of sort global known variables: time 9.62e-07/1.014, allocations: 3.938 kB / 0.5901 GB, free: 464 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.006586/1.02, allocations: 0.6081 MB / 0.5907 GB, free: 15.84 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.0006796/1.021, allocations: 144.8 kB / 0.5908 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008467/1.029, allocations: 3.205 MB / 0.5939 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.03, allocations: 0 / 0.5939 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.032, allocations: 0.86 MB / 0.5948 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/1.035, allocations: 202.6 kB / 0.595 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.054, allocations: 6.942 MB / 0.6017 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004892/1.059, allocations: 2.171 MB / 0.6039 GB, free: 2.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.06, allocations: 195.4 kB / 0.6041 GB, free: 2.051 MB / 430.1 MB Notification: Performance of SimCode: time 2.455e-06/1.06, allocations: 0 / 0.6041 GB, free: 2.051 MB / 430.1 MB Notification: Performance of Templates: time 0.1142/1.174, allocations: 45.75 MB / 0.6487 GB, free: 4.355 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches