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.001675/0.001675, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00166/0.00166, allocations: 190.3 kB / 22.23 MB, free: 5.105 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.608/1.608, allocations: 225.6 MB / 251 MB, free: 13.03 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.05074/0.05074, allocations: 9.265 MB / 315.5 MB, free: 15.63 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-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.001946/0.001946, allocations: 71.89 kB / 439.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1379, allocations: 54.3 MB / 494.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01582/0.1537, allocations: 9.611 MB / 0.4919 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008696/0.1624, allocations: 2.76 MB / 0.4946 GB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.1643, allocations: 39.88 kB / 0.4946 GB, free: 8.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.166, allocations: 421.2 kB / 0.495 GB, free: 7.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006007/0.172, allocations: 1.474 MB / 0.4964 GB, free: 6.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009933/0.173, allocations: 175.6 kB / 0.4966 GB, free: 6.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006086/0.1791, allocations: 2.724 MB / 0.4993 GB, free: 3.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.1813, allocations: 0.7968 MB / 0.5 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.1838, allocations: 0.9921 MB / 0.501 GB, free: 1.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003883/0.1877, allocations: 1.53 MB / 0.5025 GB, free: 144 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008467/0.1886, allocations: 248 kB / 0.5027 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.1909, allocations: 0.8854 MB / 0.5036 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.193, allocations: 1.359 MB / 0.5049 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.1958, allocations: 1.712 MB / 0.5066 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.2059, allocations: 5.403 MB / 0.5119 GB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2059, allocations: 0 / 0.5119 GB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2059, allocations: 4 kB / 0.5119 GB, free: 6.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002032/0.2061, allocations: 0 / 0.5119 GB, free: 6.496 MB / 382.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.011/0.2171, allocations: 3.626 MB / 0.5154 GB, free: 2.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/0.2172, allocations: 12.62 kB / 0.5154 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.2284, allocations: 1.859 MB / 0.5173 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2441/0.4725, allocations: 1.365 MB / 0.5186 GB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.4726, allocations: 162.6 kB / 0.5187 GB, free: 31.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006272/0.4732, allocations: 215.4 kB / 0.5189 GB, free: 31.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.4898, allocations: 8.673 MB / 0.5274 GB, free: 28.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.822e-05/0.4899, allocations: 21.22 kB / 0.5274 GB, free: 28.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003156/0.4902, allocations: 107.7 kB / 0.5275 GB, free: 28.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003685/0.4939, allocations: 2.087 MB / 0.5296 GB, free: 28.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.5101, allocations: 7.493 MB / 0.5369 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03338/0.5435, allocations: 26.98 MB / 0.5632 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.5473, allocations: 1.643 MB / 0.5648 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.549, allocations: 0.8842 MB / 0.5657 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009417/0.5584, allocations: 4.168 MB / 0.5698 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.5584, allocations: 51.48 kB / 0.5698 GB, free: 10.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=119): time 4.779e-06/0.5584, allocations: 3.938 kB / 0.5698 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=135): time 0.01556/0.574, allocations: 6.564 MB / 0.5762 GB, free: 4.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.5741, allocations: 64.41 kB / 0.5763 GB, free: 4.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004875/0.5789, allocations: 2.933 MB / 0.5792 GB, free: 1.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.5791, allocations: 45.7 kB / 0.5792 GB, free: 1.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.5813, allocations: 2.452 MB / 0.5816 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.5818, allocations: 0.5388 MB / 0.5821 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.5831, allocations: 0.8576 MB / 0.583 GB, free: 13.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5832, allocations: 309 kB / 0.5833 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.5857, allocations: 1.343 MB / 0.5846 GB, free: 11.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004765/0.5905, allocations: 3.807 MB / 0.5883 GB, free: 6.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/0.5984, allocations: 5.492 MB / 0.5937 GB, free: 68 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.847e-05/0.5985, allocations: 24 kB / 0.5937 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01167/0.6102, allocations: 5.314 MB / 0.5989 GB, free: 10.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.6103, allocations: 44 kB / 0.5989 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/0.6104, allocations: 84 kB / 0.599 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008827/0.6113, allocations: 373 kB / 0.5993 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003236/0.6145, allocations: 0.9202 MB / 0.6002 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008719/0.6233, allocations: 8.599 MB / 0.6086 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/0.6267, allocations: 219.9 kB / 0.6089 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007062/0.6274, allocations: 255.9 kB / 0.6091 GB, free: 15.68 MB / 446.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.003289/0.6307, allocations: 1.707 MB / 0.6108 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/0.6312, allocations: 250.3 kB / 0.611 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.6355, allocations: 1.938 MB / 0.6129 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001933/0.6357, allocations: 39.97 kB / 0.6129 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.6357, allocations: 4.469 kB / 0.6129 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.6357, allocations: 11.91 kB / 0.6129 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.6476, allocations: 5.575 MB / 0.6184 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.6476, allocations: 4 kB / 0.6184 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.6484, allocations: 171.7 kB / 0.6186 GB, free: 5.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.6489, allocations: 162.7 kB / 0.6187 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.211e-05/0.6489, allocations: 27.98 kB / 0.6187 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/0.654, allocations: 4.874 MB / 0.6235 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.654, allocations: 4 kB / 0.6235 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/0.6591, allocations: 2.863 MB / 0.6263 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.6602, allocations: 254.3 kB / 0.6265 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006036/0.6608, allocations: 20 kB / 0.6266 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.662, allocations: 59.92 kB / 0.6266 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.6622, allocations: 84.86 kB / 0.6267 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/0.6623, allocations: 47.97 kB / 0.6267 GB, free: 13.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003853/0.6662, allocations: 1.87 MB / 0.6286 GB, free: 11.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6662, allocations: 0 / 0.6286 GB, free: 11.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004156/0.6703, allocations: 0.7225 MB / 0.6293 GB, free: 10.43 MB / 462.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.0004434/0.6708, allocations: 155 kB / 0.6294 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006793/0.6776, allocations: 3.591 MB / 0.6329 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.6776, allocations: 0 / 0.6329 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.6794, allocations: 1.068 MB / 0.634 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/0.6819, allocations: 417 kB / 0.6344 GB, free: 5.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.6952, allocations: 6.942 MB / 0.6412 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/0.6989, allocations: 2.761 MB / 0.6439 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003093/0.702, allocations: 1.202 MB / 0.645 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/0.7026, allocations: 179.4 kB / 0.6452 GB, free: 9.938 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7026, allocations: 0 / 0.6452 GB, free: 9.938 MB / 478.1 MB Notification: Performance of Templates: time 0.06731/0.7699, allocations: 27.12 MB / 0.6717 GB, free: 14.94 MB / 0.4981 GB " [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.512226856313646] Failed to read output from testmodel.py, exit status != 0: 0.7799159614369273 0.806529065 0.5952867749999999 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f77037257b0>