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.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.001491/0.001491, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001617/0.001617, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.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.04615/0.04615, allocations: 9.234 MB / 322.4 MB, free: 10.08 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.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: 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.001925/0.001925, allocations: 71.88 kB / 449 MB, free: 14.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09447, allocations: 55.47 MB / 0.4926 GB, free: 7.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01059/0.1051, allocations: 9.596 MB / 0.502 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005006/0.1101, allocations: 2.818 MB / 0.5048 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005611/0.1106, allocations: 43.88 kB / 0.5048 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007751/0.1114, allocations: 417.2 kB / 0.5052 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.1139, allocations: 1.471 MB / 0.5066 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1143, allocations: 155.7 kB / 0.5068 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.1171, allocations: 2.7 MB / 0.5094 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.1183, allocations: 0.8006 MB / 0.5102 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.1197, allocations: 0.996 MB / 0.5112 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.1216, allocations: 1.522 MB / 0.5127 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.122, allocations: 248 kB / 0.5129 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.1234, allocations: 0.8894 MB / 0.5138 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.173/0.2964, allocations: 1.349 MB / 0.5151 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001714/0.2981, allocations: 1.692 MB / 0.5167 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005049/0.3032, allocations: 5.365 MB / 0.522 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3032, allocations: 3.562 kB / 0.522 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3032, allocations: 0 / 0.522 GB, free: 9.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.3033, allocations: 0 / 0.522 GB, free: 9.074 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.006232/0.3095, allocations: 3.613 MB / 0.5255 GB, free: 7.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3096, allocations: 8.938 kB / 0.5255 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006505/0.3161, allocations: 1.853 MB / 0.5273 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.3187, allocations: 1.368 MB / 0.5287 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3188, allocations: 162.3 kB / 0.5288 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004316/0.3193, allocations: 217.9 kB / 0.529 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.3311, allocations: 8.721 MB / 0.5375 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.27e-05/0.3311, allocations: 24.22 kB / 0.5376 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.3314, allocations: 103.5 kB / 0.5377 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.3343, allocations: 2.086 MB / 0.5397 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.3468, allocations: 7.544 MB / 0.5471 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03757/0.3844, allocations: 26.96 MB / 0.5734 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004433/0.3888, allocations: 1.68 MB / 0.575 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3904, allocations: 0.879 MB / 0.5759 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008998/0.3994, allocations: 4.188 MB / 0.58 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.3994, allocations: 43.56 kB / 0.58 GB, free: 1.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=119): time 3.457e-06/0.3994, allocations: 0 / 0.58 GB, free: 1.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=135): time 0.01407/0.4135, allocations: 6.7 MB / 0.5866 GB, free: 11.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.4135, allocations: 68.39 kB / 0.5866 GB, free: 11.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/0.4178, allocations: 2.936 MB / 0.5895 GB, free: 8.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4179, allocations: 45.7 kB / 0.5895 GB, free: 8.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/0.4197, allocations: 2.447 MB / 0.5919 GB, free: 5.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/0.4202, allocations: 0.5391 MB / 0.5925 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.4213, allocations: 0.8537 MB / 0.5933 GB, free: 4.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4214, allocations: 305.1 kB / 0.5936 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.4237, allocations: 1.362 MB / 0.5949 GB, free: 2.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/0.4278, allocations: 3.803 MB / 0.5986 GB, free: 13.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006707/0.4345, allocations: 5.514 MB / 0.604 GB, free: 7.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.255e-05/0.4346, allocations: 24 kB / 0.604 GB, free: 7.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.009046/0.4436, allocations: 5.33 MB / 0.6092 GB, free: 2.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.4437, allocations: 44 kB / 0.6093 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.865e-05/0.4438, allocations: 88.16 kB / 0.6094 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/0.4445, allocations: 373.5 kB / 0.6097 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.4472, allocations: 0.9206 MB / 0.6106 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/0.4547, allocations: 8.609 MB / 0.619 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.4577, allocations: 223.9 kB / 0.6192 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000546/0.4583, allocations: 256.2 kB / 0.6195 GB, free: 7.047 MB / 462.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.002812/0.4611, allocations: 1.708 MB / 0.6212 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.4615, allocations: 254.2 kB / 0.6214 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.465, allocations: 1.937 MB / 0.6233 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001727/0.4652, allocations: 39.95 kB / 0.6233 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4652, allocations: 4 kB / 0.6233 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4652, allocations: 7.984 kB / 0.6233 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009949/0.4751, allocations: 5.606 MB / 0.6288 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4751, allocations: 4 kB / 0.6288 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.4759, allocations: 179.7 kB / 0.629 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/0.4763, allocations: 142.7 kB / 0.6291 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/0.4763, allocations: 31.98 kB / 0.6292 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/0.4805, allocations: 4.876 MB / 0.6339 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4805, allocations: 11.88 kB / 0.6339 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/0.4851, allocations: 2.881 MB / 0.6367 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/0.4858, allocations: 254.2 kB / 0.637 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.4861, allocations: 24 kB / 0.637 GB, free: 4.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.4869, allocations: 63.92 kB / 0.6371 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.487, allocations: 93.83 kB / 0.6372 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.4871, allocations: 43.98 kB / 0.6372 GB, free: 4.387 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002964/0.4901, allocations: 1.866 MB / 0.639 GB, free: 2.512 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4901, allocations: 0 / 0.639 GB, free: 2.512 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003254/0.4933, allocations: 0.6992 MB / 0.6397 GB, free: 1.812 MB / 478.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 (102): * Single equations (assignments): 94 * 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.0003491/0.4937, allocations: 160.8 kB / 0.6399 GB, free: 1.652 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005889/0.4996, allocations: 3.599 MB / 0.6434 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4996, allocations: 192 / 0.6434 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.5012, allocations: 1.079 MB / 0.6444 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.5031, allocations: 417.3 kB / 0.6448 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.5153, allocations: 7.355 MB / 0.652 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/0.5184, allocations: 2.757 MB / 0.6547 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/0.5191, allocations: 231.3 kB / 0.6549 GB, free: 2.066 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5191, allocations: 0 / 0.6549 GB, free: 2.066 MB / 494.1 MB Notification: Performance of Templates: time 0.2982/0.8173, allocations: 111 MB / 0.7633 GB, free: 160.1 MB / 0.545 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: 11.968183113029227] Failed to read output from testmodel.py, exit status != 0: 0.8250465800520033 0.83386869 0.52850686 Calling exit ...