Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 102.3 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04881/0.04881, allocations: 9.14 MB / 306.4 MB, free: 3.727 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 423.4 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1264, allocations: 51.43 MB / 474.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01195/0.1384, allocations: 9.534 MB / 484.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006277/0.1448, allocations: 2.745 MB / 487.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1459, allocations: 35.94 kB / 487.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009947/0.1469, allocations: 397.3 kB / 487.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.1506, allocations: 1.42 MB / 488.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.1512, allocations: 163.7 kB / 489.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003892/0.1551, allocations: 2.741 MB / 491.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.1567, allocations: 0.9486 MB / 492.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.1584, allocations: 0.9726 MB / 493.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.1607, allocations: 1.401 MB / 495.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005797/0.1613, allocations: 248 kB / 495.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.1631, allocations: 0.8426 MB / 496.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.1647, allocations: 1.34 MB / 497.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.1668, allocations: 1.701 MB / 499.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007957/0.1747, allocations: 5.403 MB / 0.4928 GB, free: 2.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1748, allocations: 8 kB / 0.4928 GB, free: 2.496 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1748, allocations: 0 / 0.4928 GB, free: 2.496 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001769/0.175, allocations: 0 / 0.4928 GB, free: 2.496 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.009592/0.1846, allocations: 3.697 MB / 0.4965 GB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.1846, allocations: 8.031 kB / 0.4965 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007488/0.1921, allocations: 1.851 MB / 0.4983 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003513/0.1957, allocations: 1.437 MB / 0.4997 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.1959, allocations: 160.4 kB / 0.4998 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008151/0.1968, allocations: 212.2 kB / 0.5 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.2138, allocations: 8.682 MB / 0.5085 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.214, allocations: 23.81 kB / 0.5085 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007111/0.2147, allocations: 99.84 kB / 0.5086 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2814/0.4961, allocations: 2.079 MB / 0.5107 GB, free: 39.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.5139, allocations: 7.504 MB / 0.518 GB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04133/0.5553, allocations: 27.02 MB / 0.5444 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.5594, allocations: 2.178 MB / 0.5465 GB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.5608, allocations: 0.9443 MB / 0.5474 GB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007492/0.5683, allocations: 5.576 MB / 0.5529 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.5684, allocations: 43.55 kB / 0.5529 GB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 4.378e-06/0.5684, allocations: 3.938 kB / 0.5529 GB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=135): time 0.01184/0.5802, allocations: 7.029 MB / 0.5598 GB, free: 4.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5803, allocations: 64.41 kB / 0.5598 GB, free: 4.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/0.5836, allocations: 2.932 MB / 0.5627 GB, free: 1.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.5837, allocations: 45.7 kB / 0.5627 GB, free: 1.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.5852, allocations: 2.451 MB / 0.5651 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/0.5858, allocations: 0.5323 MB / 0.5657 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.587, allocations: 0.8609 MB / 0.5665 GB, free: 13.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5872, allocations: 305.1 kB / 0.5668 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.5897, allocations: 1.347 MB / 0.5681 GB, free: 11.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004857/0.5946, allocations: 3.804 MB / 0.5718 GB, free: 6.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00779/0.6024, allocations: 5.493 MB / 0.5772 GB, free: 96 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.691e-05/0.6025, allocations: 24 kB / 0.5772 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01099/0.6135, allocations: 5.629 MB / 0.5827 GB, free: 10.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/0.6136, allocations: 46.34 kB / 0.5828 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.6137, allocations: 84 kB / 0.5828 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.6146, allocations: 376.1 kB / 0.5832 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.6175, allocations: 0.9201 MB / 0.5841 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.6261, allocations: 9.111 MB / 0.593 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.6293, allocations: 227.6 kB / 0.5932 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005408/0.6298, allocations: 256 kB / 0.5934 GB, free: 14.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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 (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002923/0.6328, allocations: 1.712 MB / 0.5951 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.6332, allocations: 246.3 kB / 0.5954 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.6371, allocations: 2.245 MB / 0.5975 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001952/0.6373, allocations: 39.97 kB / 0.5976 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.6373, allocations: 8.062 kB / 0.5976 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.6373, allocations: 7.969 kB / 0.5976 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/0.6477, allocations: 5.763 MB / 0.6032 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6478, allocations: 4 kB / 0.6032 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000747/0.6485, allocations: 183.6 kB / 0.6034 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.649, allocations: 149.2 kB / 0.6035 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.6491, allocations: 31.98 kB / 0.6036 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/0.6538, allocations: 5.187 MB / 0.6086 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6539, allocations: 4.234 kB / 0.6086 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/0.659, allocations: 3.017 MB / 0.6116 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008075/0.6598, allocations: 331.3 kB / 0.6119 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.6601, allocations: 30.45 kB / 0.6119 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00082/0.6609, allocations: 59.92 kB / 0.612 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.6611, allocations: 80.95 kB / 0.6121 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.6612, allocations: 50.11 kB / 0.6121 GB, free: 10.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003207/0.6644, allocations: 1.87 MB / 0.614 GB, free: 8.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6645, allocations: 0 / 0.614 GB, free: 8.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003739/0.6682, allocations: 0.7187 MB / 0.6147 GB, free: 8.172 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (103): * Single equations (assignments): 95 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003803/0.6686, allocations: 155 kB / 0.6148 GB, free: 8.012 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006662/0.6753, allocations: 3.708 MB / 0.6184 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-05/0.6753, allocations: 1.625 kB / 0.6184 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.6771, allocations: 1.127 MB / 0.6195 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.6794, allocations: 406.5 kB / 0.6199 GB, free: 2.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.6924, allocations: 6.879 MB / 0.6266 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00351/0.6959, allocations: 2.757 MB / 0.6293 GB, free: 8.969 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003047/0.699, allocations: 1.206 MB / 0.6305 GB, free: 7.758 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/0.6995, allocations: 179.4 kB / 0.6307 GB, free: 7.582 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6995, allocations: 0 / 0.6307 GB, free: 7.582 MB / 462.1 MB Notification: Performance of Templates: time 0.05301/0.7525, allocations: 23.95 MB / 0.6541 GB, free: 15.76 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.154187343083322]