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.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.001583/0.001583, allocations: 105 kB / 20.44 MB, free: 1.504 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.001651/0.001651, allocations: 221.4 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.24 MB / 331 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] 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.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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 75.83 kB / 468.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.112, allocations: 61.04 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00855/0.1206, allocations: 6.861 MB / 0.5241 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.1252, allocations: 2.423 MB / 0.5264 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000728/0.1259, allocations: 35.88 kB / 0.5265 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.1281, allocations: 1.059 MB / 0.5275 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.1301, allocations: 0.8714 MB / 0.5283 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.1308, allocations: 307.2 kB / 0.5286 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.1333, allocations: 1.892 MB / 0.5305 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.1348, allocations: 1.103 MB / 0.5316 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1359, allocations: 0.7355 MB / 0.5323 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.1375, allocations: 1.063 MB / 0.5333 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.1378, allocations: 128 kB / 0.5334 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.1391, allocations: 0.7448 MB / 0.5342 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009703/0.14, allocations: 0.9658 MB / 0.5351 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.1413, allocations: 1.141 MB / 0.5362 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2121/0.3535, allocations: 3.751 MB / 0.5399 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3535, allocations: 0 / 0.5399 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3535, allocations: 0 / 0.5399 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001432/0.3536, allocations: 1.375 kB / 0.5399 GB, free: 15.46 MB / 414.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.004301/0.3579, allocations: 2.657 MB / 0.5425 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.358, allocations: 9.25 kB / 0.5425 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.363, allocations: 1.588 MB / 0.544 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.3652, allocations: 1.022 MB / 0.545 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.3652, allocations: 115.1 kB / 0.5452 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/0.3655, allocations: 155.8 kB / 0.5453 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00811/0.3736, allocations: 6.192 MB / 0.5514 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.435e-05/0.3737, allocations: 31.22 kB / 0.5514 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.3739, allocations: 83.33 kB / 0.5515 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/0.3762, allocations: 1.442 MB / 0.5529 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009329/0.3855, allocations: 5.389 MB / 0.5581 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0248/0.4103, allocations: 24.71 MB / 0.5823 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.4143, allocations: 1.8 MB / 0.584 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4154, allocations: 0.8816 MB / 0.5849 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.4156, allocations: 99.02 kB / 0.585 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.4156, allocations: 46.16 kB / 0.585 GB, free: 7.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/0.4156, allocations: 3 kB / 0.585 GB, free: 7.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.02166/0.4373, allocations: 8.357 MB / 0.5932 GB, free: 2.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.4374, allocations: 137.8 kB / 0.5933 GB, free: 2.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.4417, allocations: 2.657 MB / 0.5959 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.4418, allocations: 37.7 kB / 0.5959 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.4434, allocations: 2.112 MB / 0.598 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/0.4438, allocations: 455.3 kB / 0.5984 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.4448, allocations: 0.8728 MB / 0.5993 GB, free: 12.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.445, allocations: 305.1 kB / 0.5996 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.4469, allocations: 1.332 MB / 0.6009 GB, free: 10.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004338/0.4512, allocations: 4.111 MB / 0.6049 GB, free: 5.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006909/0.4581, allocations: 5.936 MB / 0.6107 GB, free: 14.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/0.4581, allocations: 28 kB / 0.6107 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008523/0.4667, allocations: 5.492 MB / 0.6161 GB, free: 9.004 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.4667, allocations: 48 kB / 0.6161 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.872e-05/0.4668, allocations: 100.9 kB / 0.6162 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.4679, allocations: 456.5 kB / 0.6167 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.4705, allocations: 0.9824 MB / 0.6176 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.4749, allocations: 3.566 MB / 0.6211 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.4772, allocations: 231.7 kB / 0.6213 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.4775, allocations: 275 kB / 0.6216 GB, free: 3.262 MB / 462.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.001923/0.4794, allocations: 1.365 MB / 0.6229 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.4798, allocations: 239.4 kB / 0.6231 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/0.4821, allocations: 1.322 MB / 0.6244 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.4822, allocations: 12 kB / 0.6244 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4822, allocations: 4 kB / 0.6245 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4822, allocations: 3.984 kB / 0.6245 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/0.4892, allocations: 4.167 MB / 0.6285 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4892, allocations: 0 / 0.6285 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.4898, allocations: 137.6 kB / 0.6287 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008205/0.4907, allocations: 323.6 kB / 0.629 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.4907, allocations: 14.81 kB / 0.629 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.4943, allocations: 2.964 MB / 0.6319 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4943, allocations: 0 / 0.6319 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.4985, allocations: 3.083 MB / 0.6349 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009002/0.4994, allocations: 354.3 kB / 0.6352 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.4996, allocations: 16 kB / 0.6352 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.5003, allocations: 43.94 kB / 0.6353 GB, free: 5.055 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5004, allocations: 60.23 kB / 0.6353 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.5005, allocations: 25.36 kB / 0.6354 GB, free: 4.977 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002272/0.5028, allocations: 1.633 MB / 0.637 GB, free: 3.332 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5028, allocations: 0 / 0.637 GB, free: 3.332 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002803/0.5056, allocations: 0.5976 MB / 0.6375 GB, free: 2.734 MB / 478.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.0002957/0.5059, allocations: 147.4 kB / 0.6377 GB, free: 2.586 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004649/0.5105, allocations: 3.104 MB / 0.6407 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.5105, allocations: 448 / 0.6407 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.5116, allocations: 0.81 MB / 0.6415 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5127, allocations: 214.3 kB / 0.6417 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/0.5222, allocations: 5.863 MB / 0.6474 GB, free: 8.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/0.5245, allocations: 2.174 MB / 0.6496 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.525, allocations: 195.4 kB / 0.6497 GB, free: 6.172 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.525, allocations: 2.078 kB / 0.6497 GB, free: 6.172 MB / 494.1 MB Notification: Performance of Templates: time 0.06154/0.5866, allocations: 46.31 MB / 0.695 GB, free: 7.875 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.76096079708077]