Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 103.6 kB / 21.19 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002295/0.002295, allocations: 218.1 kB / 24.49 MB, free: 3.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.622/1.622, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2669/0.2669, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4538, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008879/0.4626, allocations: 6.035 MB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005478/0.4681, allocations: 2.31 MB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008642/0.469, allocations: 31.88 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.4713, allocations: 1.031 MB / 0.571 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.4736, allocations: 0.8636 MB / 0.5718 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.4745, allocations: 315.2 kB / 0.5721 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002709/0.4772, allocations: 1.86 MB / 0.574 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.4787, allocations: 1.098 MB / 0.575 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.4798, allocations: 0.7238 MB / 0.5757 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.4814, allocations: 1.059 MB / 0.5768 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.4817, allocations: 132 kB / 0.5769 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.483, allocations: 0.6512 MB / 0.5775 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.484, allocations: 0.9424 MB / 0.5785 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009148/0.4849, allocations: 0.7873 MB / 0.5792 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.4896, allocations: 3.738 MB / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4896, allocations: 4 kB / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4896, allocations: 0 / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.373e-05/0.4897, allocations: 0 / 0.5829 GB, free: 14.52 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.005268/0.4949, allocations: 2.651 MB / 0.5855 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.495, allocations: 11.97 kB / 0.5855 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/0.5002, allocations: 1.586 MB / 0.587 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.503, allocations: 1.019 MB / 0.588 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.5031, allocations: 115.3 kB / 0.5881 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003536/0.5034, allocations: 164 kB / 0.5883 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.5136, allocations: 6.182 MB / 0.5943 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/0.5137, allocations: 27.75 kB / 0.5943 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.5139, allocations: 83.88 kB / 0.5944 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00254/0.5165, allocations: 1.437 MB / 0.5958 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.5267, allocations: 5.373 MB / 0.6011 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.5585, allocations: 23.35 MB / 0.6239 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/0.5631, allocations: 1.808 MB / 0.6256 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.5643, allocations: 0.8824 MB / 0.6265 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.5646, allocations: 91.73 kB / 0.6266 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.5646, allocations: 50.44 kB / 0.6266 GB, free: 268 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.436e-06/0.5646, allocations: 4 kB / 0.6266 GB, free: 264 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02318/0.5878, allocations: 8.347 MB / 0.6348 GB, free: 7.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5879, allocations: 140.5 kB / 0.6349 GB, free: 7.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/0.5914, allocations: 2.446 MB / 0.6373 GB, free: 5.184 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.5915, allocations: 41.7 kB / 0.6374 GB, free: 5.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.5932, allocations: 2.139 MB / 0.6394 GB, free: 2.973 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005286/0.5938, allocations: 456.6 kB / 0.6399 GB, free: 2.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00128/0.5951, allocations: 0.8773 MB / 0.6407 GB, free: 1.633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002732/0.5953, allocations: 341.9 kB / 0.6411 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.5974, allocations: 1.332 MB / 0.6424 GB, free: 15.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/0.6024, allocations: 4.104 MB / 0.6464 GB, free: 10.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008084/0.6105, allocations: 5.942 MB / 0.6522 GB, free: 3.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.894e-05/0.6106, allocations: 28 kB / 0.6522 GB, free: 3.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01177/0.6223, allocations: 5.469 MB / 0.6575 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/0.6224, allocations: 46.34 kB / 0.6576 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/0.6226, allocations: 100 kB / 0.6577 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.6238, allocations: 457.1 kB / 0.6581 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/0.6269, allocations: 0.9747 MB / 0.6591 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.6317, allocations: 3.511 MB / 0.6625 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/0.6349, allocations: 231.8 kB / 0.6627 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005044/0.6354, allocations: 271.9 kB / 0.663 GB, free: 7.945 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.002474/0.6379, allocations: 1.368 MB / 0.6643 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/0.6384, allocations: 210.6 kB / 0.6645 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.6409, allocations: 1.292 MB / 0.6658 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/0.6409, allocations: 16 kB / 0.6658 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6409, allocations: 4 kB / 0.6658 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.6409, allocations: 7.969 kB / 0.6658 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007844/0.6488, allocations: 3.608 MB / 0.6693 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.6488, allocations: 4 kB / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007472/0.6495, allocations: 135.8 kB / 0.6695 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009385/0.6505, allocations: 316.6 kB / 0.6698 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/0.6506, allocations: 16 kB / 0.6698 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.6544, allocations: 2.928 MB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6544, allocations: 3.938 kB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.6593, allocations: 3.043 MB / 0.6756 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009084/0.6602, allocations: 174.5 kB / 0.6758 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.6605, allocations: 27.92 kB / 0.6758 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.6612, allocations: 43.94 kB / 0.6759 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.6613, allocations: 56.28 kB / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.6614, allocations: 31.97 kB / 0.6759 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002283/0.6637, allocations: 1.374 MB / 0.6773 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6637, allocations: 0 / 0.6773 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00367/0.6674, allocations: 0.582 MB / 0.6778 GB, free: 8.492 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.000408/0.6678, allocations: 135 kB / 0.678 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005447/0.6732, allocations: 3.104 MB / 0.681 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.6732, allocations: 4 kB / 0.681 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.6745, allocations: 0.808 MB / 0.6818 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.6759, allocations: 175.4 kB / 0.682 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.6874, allocations: 5.809 MB / 0.6876 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/0.6897, allocations: 1.601 MB / 0.6892 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/0.6903, allocations: 179.3 kB / 0.6894 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of SimCode: time 2.194e-06/0.6903, allocations: 4 kB / 0.6894 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.4166/1.107, allocations: 45.71 MB / 0.734 GB, free: 157 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 12.168268651003018]