Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_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.0009529/0.0009529, allocations: 97.41 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 184.2 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4089/0.4089, allocations: 43.57 MB / 315 MB, free: 8.801 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009194/0.0009193, allocations: 16 kB / 384.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1563, allocations: 58.87 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2615/0.4178, allocations: 16.64 MB / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007701/0.4256, allocations: 4.049 MB / 464.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.4275, allocations: 70.94 kB / 464.2 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008266/0.4283, allocations: 262.6 kB / 464.5 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.4302, allocations: 0.8028 MB / 465.3 MB, free: 35.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.4309, allocations: 270.3 kB / 465.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.4332, allocations: 2.77 MB / 468.3 MB, free: 35.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.4351, allocations: 1.67 MB / 470 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000675/0.4358, allocations: 0.5883 MB / 470.6 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009297/0.4367, allocations: 0.9971 MB / 471.6 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.4368, allocations: 72.84 kB / 471.6 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009967/0.4378, allocations: 0.7069 MB / 472.3 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.4384, allocations: 0.8934 MB / 473.2 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006375/0.4391, allocations: 1.121 MB / 474.3 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.4415, allocations: 3.466 MB / 477.8 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4415, allocations: 1.125 kB / 477.8 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4415, allocations: 0 / 477.8 MB, free: 33.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.997e-05/0.4416, allocations: 0 / 477.8 MB, free: 33.33 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.003022/0.4446, allocations: 2.195 MB / 480 MB, free: 31.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4446, allocations: 9.969 kB / 480 MB, free: 31.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.4496, allocations: 1.607 MB / 481.6 MB, free: 31.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.4515, allocations: 1.076 MB / 482.7 MB, free: 31.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.229e-05/0.4516, allocations: 116.3 kB / 482.8 MB, free: 31.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/0.4519, allocations: 156 kB / 483 MB, free: 31.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.462, allocations: 6.191 MB / 489.2 MB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-05/0.4621, allocations: 31.38 kB / 489.2 MB, free: 28.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.4623, allocations: 79.62 kB / 489.3 MB, free: 28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003064/0.4654, allocations: 1.444 MB / 490.7 MB, free: 27.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.4779, allocations: 5.403 MB / 496.1 MB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.5077, allocations: 24.88 MB / 0.5088 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/0.512, allocations: 2.352 MB / 0.5111 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.5131, allocations: 0.9849 MB / 0.512 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/0.5135, allocations: 327.8 kB / 0.5124 GB, free: 20.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5136, allocations: 49.19 kB / 0.5124 GB, free: 20.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.416e-06/0.5136, allocations: 3.938 kB / 0.5124 GB, free: 20.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02109/0.5347, allocations: 8.493 MB / 0.5207 GB, free: 13.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5348, allocations: 140.5 kB / 0.5208 GB, free: 13.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/0.5384, allocations: 2.64 MB / 0.5234 GB, free: 10.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.5386, allocations: 41.7 kB / 0.5235 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.54, allocations: 2.024 MB / 0.5254 GB, free: 8.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/0.5405, allocations: 436.5 kB / 0.5258 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/0.541, allocations: 367.2 kB / 0.5262 GB, free: 7.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5411, allocations: 301.1 kB / 0.5265 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.543, allocations: 1.332 MB / 0.5278 GB, free: 6.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.5478, allocations: 4.112 MB / 0.5318 GB, free: 0.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007432/0.5552, allocations: 5.945 MB / 0.5376 GB, free: 9.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.958e-05/0.5554, allocations: 28 kB / 0.5376 GB, free: 9.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009581/0.5649, allocations: 5.484 MB / 0.543 GB, free: 3.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/0.5651, allocations: 48 kB / 0.543 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.612e-05/0.5652, allocations: 96 kB / 0.5431 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.5663, allocations: 472.8 kB / 0.5436 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.5691, allocations: 0.9718 MB / 0.5445 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.5734, allocations: 3.399 MB / 0.5478 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.5765, allocations: 231.5 kB / 0.5481 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/0.5769, allocations: 278.7 kB / 0.5483 GB, free: 14.14 MB / 430.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.002166/0.5791, allocations: 1.364 MB / 0.5497 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/0.5795, allocations: 213.2 kB / 0.5499 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.5819, allocations: 1.33 MB / 0.5512 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.5819, allocations: 12 kB / 0.5512 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.5819, allocations: 4 kB / 0.5512 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.582, allocations: 3.984 kB / 0.5512 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007335/0.5893, allocations: 4.251 MB / 0.5553 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5893, allocations: 3.828 kB / 0.5553 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.59, allocations: 139.8 kB / 0.5555 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008333/0.5908, allocations: 316.4 kB / 0.5558 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.5909, allocations: 20.86 kB / 0.5558 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/0.594, allocations: 2.821 MB / 0.5585 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.594, allocations: 7.969 kB / 0.5586 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.5982, allocations: 3.057 MB / 0.5615 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.5993, allocations: 413.6 kB / 0.5619 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.5995, allocations: 23.98 kB / 0.562 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/0.6002, allocations: 55.94 kB / 0.562 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.6004, allocations: 51.41 kB / 0.5621 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/0.6005, allocations: 31.98 kB / 0.5621 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002583/0.6031, allocations: 1.629 MB / 0.5637 GB, free: 14.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6031, allocations: 0 / 0.5637 GB, free: 14.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003813/0.6069, allocations: 0.6093 MB / 0.5643 GB, free: 13.56 MB / 446.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.0004467/0.6074, allocations: 141.6 kB / 0.5644 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005231/0.6126, allocations: 3.21 MB / 0.5675 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6127, allocations: 1.438 kB / 0.5675 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.6138, allocations: 0.8639 MB / 0.5684 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.6157, allocations: 206.2 kB / 0.5686 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.6281, allocations: 6.71 MB / 0.5751 GB, free: 2.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/0.6305, allocations: 2.175 MB / 0.5773 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003476/0.634, allocations: 1.385 MB / 0.5786 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.6344, allocations: 159.4 kB / 0.5788 GB, free: 14.63 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6344, allocations: 0 / 0.5788 GB, free: 14.63 MB / 462.1 MB Notification: Performance of Templates: time 0.04193/0.6764, allocations: 19.33 MB / 0.5976 GB, free: 11.39 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches