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.00163/0.00163, allocations: 105.5 kB / 17.77 MB, free: 5.316 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.001872/0.001872, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2123/0.2123, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 64.09 kB / 470.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3757, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00727/0.383, allocations: 6.803 MB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.3882, allocations: 2.383 MB / 0.5279 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.3893, allocations: 30.91 kB / 0.5279 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.3916, allocations: 1.028 MB / 0.5289 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.3937, allocations: 0.8522 MB / 0.5297 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.3945, allocations: 300.2 kB / 0.53 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.3974, allocations: 1.902 MB / 0.5319 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.3993, allocations: 1.262 MB / 0.5331 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.4008, allocations: 0.7138 MB / 0.5338 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.4021, allocations: 0.9643 MB / 0.5347 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.4024, allocations: 127.6 kB / 0.5349 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.4038, allocations: 0.7244 MB / 0.5356 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.4049, allocations: 0.9336 MB / 0.5365 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4062, allocations: 1.143 MB / 0.5376 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006189/0.4124, allocations: 3.745 MB / 0.5412 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4124, allocations: 0 / 0.5412 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4124, allocations: 0 / 0.5412 GB, free: 4.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001333/0.4126, allocations: 1.125 kB / 0.5412 GB, free: 4.797 MB / 398.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.007656/0.4202, allocations: 2.66 MB / 0.5438 GB, free: 2.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4203, allocations: 11.97 kB / 0.5439 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007672/0.428, allocations: 1.569 MB / 0.5454 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.4306, allocations: 1.084 MB / 0.5464 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.4307, allocations: 123.2 kB / 0.5466 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003683/0.4311, allocations: 156 kB / 0.5467 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.443, allocations: 6.186 MB / 0.5528 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.813e-05/0.4431, allocations: 31.66 kB / 0.5528 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.4435, allocations: 79.89 kB / 0.5529 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.4469, allocations: 1.441 MB / 0.5543 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.4606, allocations: 5.393 MB / 0.5595 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03444/0.495, allocations: 24.76 MB / 0.5837 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004547/0.4996, allocations: 2.351 MB / 0.586 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.5008, allocations: 0.9911 MB / 0.587 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.5012, allocations: 323.1 kB / 0.5873 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.5013, allocations: 46.55 kB / 0.5873 GB, free: 4.293 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 4.007e-06/0.5013, allocations: 4 kB / 0.5873 GB, free: 4.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02294/0.5242, allocations: 8.426 MB / 0.5956 GB, free: 11.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.5243, allocations: 144.5 kB / 0.5957 GB, free: 11.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.5285, allocations: 2.647 MB / 0.5983 GB, free: 8.875 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.5287, allocations: 37.7 kB / 0.5983 GB, free: 8.832 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.5301, allocations: 2.024 MB / 0.6003 GB, free: 6.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005577/0.5307, allocations: 434.6 kB / 0.6007 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.5321, allocations: 0.861 MB / 0.6016 GB, free: 5.473 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5322, allocations: 301.1 kB / 0.6018 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.5342, allocations: 1.336 MB / 0.6031 GB, free: 3.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/0.5385, allocations: 4.108 MB / 0.6072 GB, free: 14.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006505/0.545, allocations: 5.945 MB / 0.613 GB, free: 6.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.777e-05/0.5451, allocations: 28 kB / 0.613 GB, free: 6.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009393/0.5545, allocations: 5.49 MB / 0.6184 GB, free: 1.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.5546, allocations: 50.03 kB / 0.6184 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001957/0.5548, allocations: 96 kB / 0.6185 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.556, allocations: 464.9 kB / 0.6189 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.559, allocations: 0.9708 MB / 0.6199 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.5629, allocations: 3.664 MB / 0.6235 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/0.5662, allocations: 227.5 kB / 0.6237 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006176/0.5668, allocations: 280 kB / 0.6239 GB, free: 11.6 MB / 494.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.002987/0.5698, allocations: 1.364 MB / 0.6253 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005622/0.5704, allocations: 221.1 kB / 0.6255 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.5727, allocations: 1.326 MB / 0.6268 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.5728, allocations: 12 kB / 0.6268 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5728, allocations: 4 kB / 0.6268 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5728, allocations: 7.984 kB / 0.6268 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006608/0.5794, allocations: 4.194 MB / 0.6309 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5794, allocations: 4 kB / 0.6309 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.58, allocations: 139.8 kB / 0.631 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008021/0.5809, allocations: 308.6 kB / 0.6313 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.5809, allocations: 19.98 kB / 0.6314 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/0.584, allocations: 3.079 MB / 0.6344 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5841, allocations: 0 / 0.6344 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/0.5878, allocations: 3.07 MB / 0.6374 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/0.5884, allocations: 278.1 kB / 0.6376 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.5886, allocations: 16 kB / 0.6376 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/0.5893, allocations: 47.94 kB / 0.6377 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.5894, allocations: 56.36 kB / 0.6377 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.5895, allocations: 32 kB / 0.6378 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00235/0.5919, allocations: 1.629 MB / 0.6394 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5919, allocations: 0 / 0.6394 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003752/0.5956, allocations: 0.6015 MB / 0.6399 GB, free: 10.93 MB / 0.4981 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.0004227/0.5961, allocations: 143 kB / 0.6401 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005409/0.6015, allocations: 3.234 MB / 0.6432 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.6015, allocations: 0 / 0.6432 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6027, allocations: 0.8638 MB / 0.6441 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.6043, allocations: 213.5 kB / 0.6443 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.6146, allocations: 5.431 MB / 0.6496 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/0.617, allocations: 2.178 MB / 0.6517 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002715/0.6197, allocations: 1.375 MB / 0.6531 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.6201, allocations: 163.4 kB / 0.6532 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.6201, allocations: 0 / 0.6532 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.03604/0.6562, allocations: 17.84 MB / 0.6706 GB, free: 11.45 MB / 0.5294 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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