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.001421/0.001421, allocations: 112.8 kB / 17.78 MB, free: 5.305 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.001688/0.001688, allocations: 184.1 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.45/1.45, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2536/0.2536, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 60.14 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00756/0.3437, allocations: 6.803 MB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.3489, allocations: 2.384 MB / 0.5279 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007224/0.3497, allocations: 30.19 kB / 0.5279 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.352, allocations: 1.038 MB / 0.5289 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.3539, allocations: 0.8725 MB / 0.5297 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.3546, allocations: 299.1 kB / 0.53 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.3569, allocations: 1.902 MB / 0.5319 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.3583, allocations: 1.261 MB / 0.5331 GB, free: 10 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009108/0.3592, allocations: 0.7188 MB / 0.5338 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3603, allocations: 0.9633 MB / 0.5348 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.3606, allocations: 128.2 kB / 0.5349 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.3618, allocations: 0.7243 MB / 0.5356 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008132/0.3626, allocations: 0.9375 MB / 0.5365 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000948/0.3636, allocations: 1.144 MB / 0.5376 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.3672, allocations: 3.741 MB / 0.5413 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3673, allocations: 0 / 0.5413 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3673, allocations: 0 / 0.5413 GB, free: 4.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.3673, allocations: 0 / 0.5413 GB, free: 4.77 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.004251/0.3716, allocations: 2.66 MB / 0.5439 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3716, allocations: 8.031 kB / 0.5439 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/0.3768, allocations: 1.573 MB / 0.5454 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.3786, allocations: 1.084 MB / 0.5465 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.3786, allocations: 119.2 kB / 0.5466 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.3789, allocations: 152 kB / 0.5467 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008309/0.3873, allocations: 6.19 MB / 0.5528 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-05/0.3873, allocations: 27.72 kB / 0.5528 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.3876, allocations: 79.89 kB / 0.5529 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002524/0.3901, allocations: 1.441 MB / 0.5543 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009052/0.3992, allocations: 5.397 MB / 0.5596 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.4254, allocations: 24.76 MB / 0.5837 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00453/0.43, allocations: 2.347 MB / 0.586 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.4312, allocations: 0.9947 MB / 0.587 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/0.4315, allocations: 319.2 kB / 0.5873 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.4315, allocations: 50.5 kB / 0.5874 GB, free: 4.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.085e-06/0.4316, allocations: 0 / 0.5874 GB, free: 4.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02225/0.4538, allocations: 8.437 MB / 0.5956 GB, free: 11.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.4539, allocations: 136.5 kB / 0.5957 GB, free: 11.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.4573, allocations: 2.647 MB / 0.5983 GB, free: 8.836 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/0.4574, allocations: 45.69 kB / 0.5984 GB, free: 8.785 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.4586, allocations: 2.013 MB / 0.6003 GB, free: 6.742 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.459, allocations: 442.6 kB / 0.6007 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.46, allocations: 0.8571 MB / 0.6016 GB, free: 5.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.4601, allocations: 305.1 kB / 0.6019 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.462, allocations: 1.336 MB / 0.6032 GB, free: 3.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00382/0.4658, allocations: 4.108 MB / 0.6072 GB, free: 14.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006201/0.472, allocations: 5.944 MB / 0.613 GB, free: 6.953 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.185e-05/0.4721, allocations: 28 kB / 0.613 GB, free: 6.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008589/0.4807, allocations: 5.482 MB / 0.6184 GB, free: 1.434 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.4807, allocations: 48 kB / 0.6184 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.538e-05/0.4808, allocations: 100 kB / 0.6185 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4819, allocations: 465.5 kB / 0.619 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.4847, allocations: 0.9747 MB / 0.6199 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/0.4889, allocations: 3.668 MB / 0.6235 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.4919, allocations: 227.5 kB / 0.6237 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/0.4923, allocations: 276 kB / 0.624 GB, free: 11.55 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.002252/0.4945, allocations: 1.364 MB / 0.6253 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.4949, allocations: 217.1 kB / 0.6255 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.4974, allocations: 1.322 MB / 0.6268 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.4974, allocations: 12 kB / 0.6268 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.4974, allocations: 4 kB / 0.6268 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4974, allocations: 11.95 kB / 0.6268 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/0.505, allocations: 4.198 MB / 0.6309 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.505, allocations: 4 kB / 0.6309 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.5056, allocations: 135.8 kB / 0.6311 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/0.5065, allocations: 324.5 kB / 0.6314 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.5066, allocations: 12 kB / 0.6314 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/0.5103, allocations: 3.059 MB / 0.6344 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5103, allocations: 4.031 kB / 0.6344 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004588/0.5149, allocations: 3.08 MB / 0.6374 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/0.5156, allocations: 278.1 kB / 0.6376 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.5159, allocations: 16.06 kB / 0.6377 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.5166, allocations: 47.94 kB / 0.6377 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5168, allocations: 56.3 kB / 0.6378 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.358e-05/0.5169, allocations: 32.12 kB / 0.6378 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002724/0.5196, allocations: 1.629 MB / 0.6394 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5196, allocations: 3.938 kB / 0.6394 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003728/0.5233, allocations: 0.6016 MB / 0.64 GB, free: 10.88 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.0003222/0.5237, allocations: 147 kB / 0.6401 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004755/0.5284, allocations: 3.223 MB / 0.6433 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5284, allocations: 0 / 0.6433 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5296, allocations: 0.8678 MB / 0.6441 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.5308, allocations: 216.6 kB / 0.6443 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009095/0.5399, allocations: 5.435 MB / 0.6496 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/0.5422, allocations: 2.167 MB / 0.6517 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002813/0.545, allocations: 1.395 MB / 0.6531 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.5454, allocations: 155.4 kB / 0.6532 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.5454, allocations: 0 / 0.6532 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.03934/0.5847, allocations: 18.2 MB / 0.671 GB, free: 11.04 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