Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.001391/0.001391, allocations: 77.7 kB / 19.76 MB, free: 2.035 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.001528/0.001528, allocations: 160.4 kB / 23.01 MB, free: 4.945 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.399/1.399, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04793/0.04793, allocations: 7.124 MB / 266.9 MB, free: 9.715 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 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.00206/0.00206, allocations: 63.91 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09895, allocations: 55.45 MB / 448.8 MB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.006766/0.1057, allocations: 5.218 MB / 454 MB, free: 13.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.1094, allocations: 1.962 MB / 456 MB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.1098, allocations: 27.94 kB / 456 MB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.1103, allocations: 270.4 kB / 456.3 MB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.1125, allocations: 1.14 MB / 457.4 MB, free: 10.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.1126, allocations: 39.89 kB / 457.5 MB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.1146, allocations: 1.87 MB / 459.4 MB, free: 8.352 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1148, allocations: 54.98 kB / 459.4 MB, free: 8.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006546/0.1154, allocations: 0.6615 MB / 460.1 MB, free: 7.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.1167, allocations: 1.063 MB / 461.1 MB, free: 6.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.117, allocations: 184 kB / 461.3 MB, free: 6.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.118, allocations: 0.6553 MB / 462 MB, free: 5.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000862/0.1189, allocations: 0.958 MB / 462.9 MB, free: 4.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000801/0.1197, allocations: 0.8072 MB / 463.7 MB, free: 3.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.1238, allocations: 4.055 MB / 467.8 MB, free: 15.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1238, allocations: 0 / 467.8 MB, free: 15.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1238, allocations: 0 / 467.8 MB, free: 15.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.1239, allocations: 3.938 kB / 467.8 MB, free: 15.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.004614/0.1285, allocations: 2.569 MB / 470.4 MB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1285, allocations: 12.62 kB / 470.4 MB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006653/0.1352, allocations: 1.742 MB / 472.1 MB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.1373, allocations: 1.048 MB / 473.2 MB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/0.1374, allocations: 98.8 kB / 473.3 MB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/0.1376, allocations: 124.3 kB / 473.4 MB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008863/0.1465, allocations: 6.478 MB / 479.9 MB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.1465, allocations: 11.94 kB / 479.9 MB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.1468, allocations: 63.89 kB / 479.9 MB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002781/0.1495, allocations: 1.625 MB / 481.6 MB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1957/0.3453, allocations: 5.969 MB / 487.5 MB, free: 66.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.3627, allocations: 16.24 MB / 0.492 GB, free: 56.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.3647, allocations: 1.058 MB / 0.493 GB, free: 55.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.3653, allocations: 499.8 kB / 0.4935 GB, free: 55.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002656/0.368, allocations: 1.55 MB / 0.495 GB, free: 54.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.368, allocations: 42.94 kB / 0.495 GB, free: 54.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.565e-06/0.368, allocations: 3.938 kB / 0.495 GB, free: 54.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=80): time 0.002532/0.3705, allocations: 1.478 MB / 0.4965 GB, free: 54.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.3706, allocations: 55.12 kB / 0.4965 GB, free: 54.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.3722, allocations: 1.712 MB / 0.4982 GB, free: 53.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.3722, allocations: 36.86 kB / 0.4982 GB, free: 53.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/0.3728, allocations: 1.738 MB / 0.4999 GB, free: 52.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.373, allocations: 338.2 kB / 0.5002 GB, free: 52.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/0.3735, allocations: 0.5714 MB / 0.5008 GB, free: 51.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.3736, allocations: 338.6 kB / 0.5011 GB, free: 51.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3747, allocations: 0.9124 MB / 0.502 GB, free: 51.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.3764, allocations: 2.569 MB / 0.5045 GB, free: 48.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003139/0.3796, allocations: 3.711 MB / 0.5082 GB, free: 45.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.743e-05/0.3796, allocations: 16.09 kB / 0.5082 GB, free: 45.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.004797/0.3844, allocations: 3.388 MB / 0.5115 GB, free: 44.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.3844, allocations: 29.75 kB / 0.5115 GB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/0.3845, allocations: 58.41 kB / 0.5116 GB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001397/0.3846, allocations: 77.28 kB / 0.5116 GB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.3863, allocations: 0.6118 MB / 0.5122 GB, free: 44.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.474e-05/0.3864, allocations: 118.5 kB / 0.5123 GB, free: 44.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.3881, allocations: 395.7 kB / 0.5127 GB, free: 43.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.3883, allocations: 175.8 kB / 0.5129 GB, free: 43.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001507/0.3898, allocations: 1.306 MB / 0.5142 GB, free: 43.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.39, allocations: 135.5 kB / 0.5143 GB, free: 43.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.3915, allocations: 1.019 MB / 0.5153 GB, free: 42.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.374e-05/0.3916, allocations: 26.73 kB / 0.5153 GB, free: 42.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3916, allocations: 0 / 0.5153 GB, free: 42.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3916, allocations: 4.516 kB / 0.5153 GB, free: 42.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/0.396, allocations: 2.757 MB / 0.518 GB, free: 41.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.396, allocations: 2.938 kB / 0.518 GB, free: 41.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.3965, allocations: 113.1 kB / 0.5181 GB, free: 41.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.3965, allocations: 7.031 kB / 0.5181 GB, free: 41.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.3965, allocations: 19.28 kB / 0.5181 GB, free: 41.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.3965, allocations: 2.75 kB / 0.5181 GB, free: 41.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3965, allocations: 4.438 kB / 0.5182 GB, free: 41.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.3986, allocations: 1.685 MB / 0.5198 GB, free: 40.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3988, allocations: 141.6 kB / 0.5199 GB, free: 40.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.3989, allocations: 17.44 kB / 0.5199 GB, free: 40.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.3994, allocations: 36.84 kB / 0.52 GB, free: 40.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.3994, allocations: 35.8 kB / 0.52 GB, free: 40.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.3995, allocations: 29.75 kB / 0.52 GB, free: 40.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.4007, allocations: 1.013 MB / 0.521 GB, free: 40.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4007, allocations: 0 / 0.521 GB, free: 40.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002197/0.4029, allocations: 0.6593 MB / 0.5217 GB, free: 40.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (55): * Single equations (assignments): 51 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002208/0.4031, allocations: 145.8 kB / 0.5218 GB, free: 39.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.4058, allocations: 1.917 MB / 0.5237 GB, free: 39.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4058, allocations: 0 / 0.5237 GB, free: 39.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.4063, allocations: 434.4 kB / 0.5241 GB, free: 39.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.4072, allocations: 181.9 kB / 0.5243 GB, free: 39.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.4137, allocations: 4.905 MB / 0.5291 GB, free: 36.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.4158, allocations: 1.593 MB / 0.5306 GB, free: 36.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001957/0.4177, allocations: 0.84 MB / 0.5314 GB, free: 36.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.418, allocations: 107 kB / 0.5315 GB, free: 36.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.418, allocations: 1.375 kB / 0.5315 GB, free: 36.15 MB / 446.1 MB Notification: Performance of Templates: time 0.02404/0.442, allocations: 13.08 MB / 0.5443 GB, free: 30.49 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.FreeBody.sim & ./PlanarMechanics_PlanarMechanics.Examples.FreeBody -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.009364559082314] Failed to read output from testmodel.py, exit status != 0: 0.44953992299269885 0.45843090700000005 0.332418374 Calling exit ...