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.001313/0.001313, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001458/0.001458, allocations: 158.1 kB / 23.01 MB, free: 4.961 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.388/1.388, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.04626/0.04626, allocations: 7.129 MB / 266.9 MB, free: 9.719 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.002099/0.002099, allocations: 67.89 kB / 393.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09514, allocations: 55.45 MB / 448.8 MB, free: 2.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01038/0.1055, allocations: 8.351 MB / 457.2 MB, free: 10.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005315/0.1108, allocations: 2.647 MB / 459.8 MB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.1115, allocations: 43.88 kB / 459.9 MB, free: 7.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008302/0.1123, allocations: 417.2 kB / 460.3 MB, free: 7.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.1153, allocations: 1.463 MB / 461.7 MB, free: 5.945 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.1157, allocations: 167.7 kB / 461.9 MB, free: 5.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.1189, allocations: 2.698 MB / 464.6 MB, free: 3.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.12, allocations: 0.8006 MB / 465.4 MB, free: 2.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1211, allocations: 0.9845 MB / 466.4 MB, free: 1.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.123, allocations: 1.471 MB / 467.9 MB, free: 15.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003707/0.1234, allocations: 248 kB / 468.1 MB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.1248, allocations: 0.7724 MB / 468.9 MB, free: 14.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.126, allocations: 1.34 MB / 470.2 MB, free: 13.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.1272, allocations: 1.191 MB / 471.4 MB, free: 12.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005659/0.1329, allocations: 5.376 MB / 476.8 MB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1329, allocations: 0 / 476.8 MB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1329, allocations: 4 kB / 476.8 MB, free: 6.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.384e-05/0.133, allocations: 0 / 476.8 MB, free: 6.828 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.006614/0.1396, allocations: 3.626 MB / 480.4 MB, free: 3.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1396, allocations: 8.625 kB / 480.4 MB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007411/0.147, allocations: 1.941 MB / 482.4 MB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2638/0.4108, allocations: 1.373 MB / 483.7 MB, free: 67.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.411, allocations: 161.2 kB / 483.9 MB, free: 67.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007946/0.4118, allocations: 218 kB / 484.1 MB, free: 67.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/0.4229, allocations: 8.68 MB / 492.8 MB, free: 64.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.362e-05/0.423, allocations: 22.05 kB / 492.8 MB, free: 64.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003911/0.4234, allocations: 103.9 kB / 492.9 MB, free: 64.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002757/0.4261, allocations: 2.094 MB / 495 MB, free: 64.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4375, allocations: 7.459 MB / 0.4907 GB, free: 61.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02772/0.4652, allocations: 24.44 MB / 0.5146 GB, free: 45.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.4694, allocations: 1.705 MB / 0.5162 GB, free: 44.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.4708, allocations: 0.8592 MB / 0.5171 GB, free: 44.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007331/0.4781, allocations: 3.762 MB / 0.5207 GB, free: 43.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.4781, allocations: 47.34 kB / 0.5208 GB, free: 43.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=119): time 3.517e-06/0.4781, allocations: 0 / 0.5208 GB, free: 43.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.01275/0.4909, allocations: 6.582 MB / 0.5272 GB, free: 40.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.4909, allocations: 65.83 kB / 0.5273 GB, free: 40.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.4947, allocations: 2.517 MB / 0.5297 GB, free: 39.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.4948, allocations: 45.58 kB / 0.5298 GB, free: 39.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.4961, allocations: 2.489 MB / 0.5322 GB, free: 37.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.4966, allocations: 0.5351 MB / 0.5327 GB, free: 36.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.4977, allocations: 0.863 MB / 0.5336 GB, free: 36.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.4978, allocations: 354.3 kB / 0.5339 GB, free: 36.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.5, allocations: 1.335 MB / 0.5352 GB, free: 35.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.5029, allocations: 3.778 MB / 0.5389 GB, free: 32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004747/0.5076, allocations: 5.472 MB / 0.5442 GB, free: 26.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.561e-05/0.5077, allocations: 24 kB / 0.5443 GB, free: 26.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.007586/0.5153, allocations: 5.244 MB / 0.5494 GB, free: 21.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.5154, allocations: 40.75 kB / 0.5494 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.937e-05/0.5155, allocations: 89 kB / 0.5495 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006657/0.5161, allocations: 364.7 kB / 0.5499 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.5186, allocations: 0.9249 MB / 0.5508 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/0.5234, allocations: 8.455 MB / 0.559 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.5262, allocations: 225.4 kB / 0.5592 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.5265, allocations: 254.3 kB / 0.5595 GB, free: 11.49 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.002096/0.5286, allocations: 1.711 MB / 0.5611 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.5289, allocations: 211.3 kB / 0.5613 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/0.5316, allocations: 1.86 MB / 0.5632 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000121/0.5317, allocations: 29.3 kB / 0.5632 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5318, allocations: 4 kB / 0.5632 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.5318, allocations: 5.719 kB / 0.5632 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007004/0.5388, allocations: 4.447 MB / 0.5675 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5388, allocations: 4.438 kB / 0.5675 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.5395, allocations: 187.3 kB / 0.5677 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003161/0.5398, allocations: 145.2 kB / 0.5679 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.5398, allocations: 31.88 kB / 0.5679 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.5428, allocations: 4.807 MB / 0.5726 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/0.5428, allocations: 4.094 kB / 0.5726 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/0.5473, allocations: 2.776 MB / 0.5753 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.5479, allocations: 194.6 kB / 0.5755 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.5482, allocations: 24 kB / 0.5755 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.549, allocations: 59.92 kB / 0.5756 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.5492, allocations: 80.8 kB / 0.5756 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.851e-05/0.5493, allocations: 46.42 kB / 0.5757 GB, free: 11.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002402/0.5517, allocations: 1.455 MB / 0.5771 GB, free: 10.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5517, allocations: 8.062 kB / 0.5771 GB, free: 10.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003666/0.5553, allocations: 0.6952 MB / 0.5778 GB, free: 9.668 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 (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.0003392/0.5557, allocations: 143.6 kB / 0.5779 GB, free: 9.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006129/0.5618, allocations: 3.562 MB / 0.5814 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.5618, allocations: 3.938 kB / 0.5814 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.5634, allocations: 1.049 MB / 0.5824 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.5649, allocations: 264.5 kB / 0.5827 GB, free: 4.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.5772, allocations: 6.876 MB / 0.5894 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003426/0.5806, allocations: 2.196 MB / 0.5916 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002843/0.5835, allocations: 1.156 MB / 0.5927 GB, free: 10.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.5839, allocations: 156.5 kB / 0.5928 GB, free: 10.08 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5839, allocations: 0 / 0.5928 GB, free: 10.08 MB / 478.1 MB Notification: Performance of Templates: time 0.0428/0.6267, allocations: 17.77 MB / 0.6102 GB, free: 8.621 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.609038025024347] Failed to read output from testmodel.py, exit status != 0: 0.6350281808990985 0.6493005040000001 0.5132897510000001 Calling exit ...