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.001407/0.001407, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001516/0.001516, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2419/0.2419, allocations: 46.95 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] 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.00216/0.00216, allocations: 67.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3306, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008843/0.3395, allocations: 6.04 MB / 0.567 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005135/0.3446, allocations: 2.306 MB / 0.5692 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006882/0.3453, allocations: 35.88 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.3476, allocations: 1.028 MB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3499, allocations: 0.8674 MB / 0.5711 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.3508, allocations: 315.2 kB / 0.5714 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.3536, allocations: 1.865 MB / 0.5732 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.3552, allocations: 1.09 MB / 0.5743 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.3563, allocations: 0.7277 MB / 0.575 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.3577, allocations: 1.02 MB / 0.576 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.3579, allocations: 128 kB / 0.5761 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.3592, allocations: 0.6434 MB / 0.5767 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009481/0.3601, allocations: 0.9385 MB / 0.5777 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008862/0.361, allocations: 0.7912 MB / 0.5784 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.3655, allocations: 3.742 MB / 0.5821 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3655, allocations: 0 / 0.5821 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3655, allocations: 0 / 0.5821 GB, free: 14.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.3656, allocations: 0 / 0.5821 GB, free: 14.53 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.005151/0.3707, allocations: 2.647 MB / 0.5847 GB, free: 11.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3708, allocations: 8.031 kB / 0.5847 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.3764, allocations: 1.586 MB / 0.5862 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.3789, allocations: 1.023 MB / 0.5872 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3791, allocations: 119.3 kB / 0.5873 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.3794, allocations: 164 kB / 0.5875 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009482/0.3889, allocations: 6.178 MB / 0.5935 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.665e-05/0.3889, allocations: 27.75 kB / 0.5936 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.3892, allocations: 83.89 kB / 0.5936 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002527/0.3917, allocations: 1.441 MB / 0.595 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009895/0.4016, allocations: 5.377 MB / 0.6003 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/0.4326, allocations: 23.34 MB / 0.6231 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.4372, allocations: 1.804 MB / 0.6249 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.4386, allocations: 0.8824 MB / 0.6257 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.4389, allocations: 91.8 kB / 0.6258 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.4389, allocations: 50.42 kB / 0.6258 GB, free: 300 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.346e-06/0.4389, allocations: 4 kB / 0.6259 GB, free: 296 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02306/0.462, allocations: 8.348 MB / 0.634 GB, free: 7.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4621, allocations: 136.5 kB / 0.6341 GB, free: 7.703 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.4654, allocations: 2.453 MB / 0.6365 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.4655, allocations: 37.7 kB / 0.6366 GB, free: 5.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.4672, allocations: 2.143 MB / 0.6387 GB, free: 2.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/0.4676, allocations: 460.6 kB / 0.6391 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.4687, allocations: 0.8695 MB / 0.6399 GB, free: 1.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4689, allocations: 338 kB / 0.6403 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.471, allocations: 1.332 MB / 0.6416 GB, free: 15.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004538/0.4756, allocations: 4.104 MB / 0.6456 GB, free: 10.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007501/0.4831, allocations: 5.944 MB / 0.6514 GB, free: 3.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.809e-05/0.4831, allocations: 28 kB / 0.6514 GB, free: 3.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00983/0.493, allocations: 5.461 MB / 0.6567 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.493, allocations: 48 kB / 0.6568 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.4932, allocations: 96 kB / 0.6569 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.4943, allocations: 465.1 kB / 0.6573 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/0.4972, allocations: 0.9747 MB / 0.6583 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.5019, allocations: 3.519 MB / 0.6617 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.5046, allocations: 223.8 kB / 0.6619 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.5049, allocations: 283.9 kB / 0.6622 GB, free: 7.965 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.002049/0.507, allocations: 1.361 MB / 0.6635 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.5073, allocations: 202.6 kB / 0.6637 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.5098, allocations: 1.303 MB / 0.665 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.5099, allocations: 12 kB / 0.665 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.5099, allocations: 8 kB / 0.665 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.5099, allocations: 3.984 kB / 0.665 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00723/0.5171, allocations: 3.608 MB / 0.6685 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5171, allocations: 0 / 0.6685 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.5178, allocations: 139.8 kB / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/0.5187, allocations: 316.5 kB / 0.669 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.5187, allocations: 16 kB / 0.669 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.5225, allocations: 2.92 MB / 0.6718 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5225, allocations: 3.938 kB / 0.6718 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.5271, allocations: 3.057 MB / 0.6748 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004408/0.5275, allocations: 174.5 kB / 0.675 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.5277, allocations: 15.94 kB / 0.675 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/0.5284, allocations: 47.94 kB / 0.6751 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5285, allocations: 56.27 kB / 0.6751 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.5286, allocations: 28 kB / 0.6751 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002084/0.5307, allocations: 1.374 MB / 0.6765 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5307, allocations: 0 / 0.6765 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002875/0.5336, allocations: 0.5898 MB / 0.6771 GB, free: 8.516 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.0002991/0.5339, allocations: 135 kB / 0.6772 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004884/0.5387, allocations: 3.101 MB / 0.6802 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5388, allocations: 4 kB / 0.6802 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.5399, allocations: 0.8095 MB / 0.681 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.541, allocations: 175.1 kB / 0.6812 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.5502, allocations: 5.518 MB / 0.6866 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.5524, allocations: 1.597 MB / 0.6881 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002966/0.5554, allocations: 1.358 MB / 0.6894 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.5557, allocations: 139.4 kB / 0.6896 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.5557, allocations: 4 kB / 0.6896 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.03973/0.5955, allocations: 18.77 MB / 0.7079 GB, free: 9.07 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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: 6.055692631751299]