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.000902/0.000902, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009239/0.0009239, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9963/0.9963, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.0293/0.0293, allocations: 7.186 MB / 268.2 MB, free: 5.922 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 340.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.378e-05, allocations: 4.703 kB / 340.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.005721/0.005735, allocations: 9.079 MB / 349.2 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.009563, allocations: 2.725 MB / 351.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006359/0.0102, allocations: 51.81 kB / 351.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.01088, allocations: 413.1 kB / 352.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.01312, allocations: 1.528 MB / 353.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.01344, allocations: 167.5 kB / 354 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.01561, allocations: 2.798 MB / 356.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.01663, allocations: 0.8479 MB / 357.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.0181, allocations: 1.504 MB / 359.2 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.01934, allocations: 1.414 MB / 360.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.01957, allocations: 252 kB / 360.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008788/0.02045, allocations: 0.8424 MB / 361.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009639/0.02141, allocations: 1.394 MB / 363.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000653/0.02206, allocations: 0.907 MB / 364 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.02447, allocations: 3.548 MB / 367.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.02447, allocations: 0 / 367.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02447, allocations: 0 / 367.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.02449, allocations: 0 / 367.5 MB, free: 14.36 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1301 * Number of variables: 1301 Notification: Performance of Generate backend data structure: time 0.003851/0.02834, allocations: 3.896 MB / 371.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.02837, allocations: 12.62 kB / 371.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/0.03138, allocations: 1.352 MB / 372.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.03253, allocations: 1.241 MB / 374 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.347e-05/0.03261, allocations: 164.5 kB / 374.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.03287, allocations: 212.2 kB / 374.4 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004069/0.03694, allocations: 4.056 MB / 378.5 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.03699, allocations: 23.95 kB / 378.5 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.03719, allocations: 107.8 kB / 378.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/0.03887, allocations: 1.884 MB / 380.5 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.04196, allocations: 2.018 MB / 382.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/0.06031, allocations: 28.11 MB / 410.6 MB, free: 1.859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.06227, allocations: 0.9716 MB / 411.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.06276, allocations: 387.8 kB / 412 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1313/0.1941, allocations: 3.01 MB / 415 MB, free: 63.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1941, allocations: 46.45 kB / 415 MB, free: 63.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 2.855e-06/0.1941, allocations: 0 / 415 MB, free: 63.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=135): time 0.005552/0.1997, allocations: 3.535 MB / 418.6 MB, free: 62.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.1997, allocations: 63.78 kB / 418.6 MB, free: 62.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.202, allocations: 2.211 MB / 420.8 MB, free: 62.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.202, allocations: 40.33 kB / 420.9 MB, free: 62.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.2032, allocations: 2.617 MB / 423.5 MB, free: 60.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.2036, allocations: 0.5556 MB / 424 MB, free: 60.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/0.2045, allocations: 0.9437 MB / 425 MB, free: 60.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.2046, allocations: 0.5251 MB / 425.5 MB, free: 59.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006327/0.2053, allocations: 358.3 kB / 425.9 MB, free: 59.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.2068, allocations: 3.988 MB / 429.8 MB, free: 55.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.2095, allocations: 4.845 MB / 434.7 MB, free: 50.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.833e-05/0.2096, allocations: 26.25 kB / 434.7 MB, free: 50.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=561) (initialization): time 0.004133/0.2137, allocations: 3.434 MB / 438.2 MB, free: 49.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.2138, allocations: 45.84 kB / 438.2 MB, free: 49.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.395e-05/0.2139, allocations: 85.25 kB / 438.3 MB, free: 49.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.2143, allocations: 337.2 kB / 438.6 MB, free: 49.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.2157, allocations: 0.9089 MB / 439.5 MB, free: 49.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.2191, allocations: 10.43 MB / 449.9 MB, free: 39.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.2207, allocations: 172 kB / 450.1 MB, free: 38.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.2209, allocations: 225.9 kB / 450.3 MB, free: 38.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (514): * Single equations (assignments): 504 * 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.0008828/0.2217, allocations: 0.503 MB / 450.8 MB, free: 38.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.2219, allocations: 246.5 kB / 451.1 MB, free: 38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.223, allocations: 0.9447 MB / 452 MB, free: 37.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.588e-05/0.223, allocations: 25.34 kB / 452 MB, free: 37.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.223, allocations: 4 kB / 452 MB, free: 37.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.223, allocations: 6.891 kB / 452.1 MB, free: 37.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.227, allocations: 3.701 MB / 455.8 MB, free: 34.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.227, allocations: 3.938 kB / 455.8 MB, free: 34.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.2273, allocations: 163 kB / 455.9 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.2276, allocations: 138.6 kB / 456.1 MB, free: 34.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.2276, allocations: 31.75 kB / 456.1 MB, free: 34.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.2289, allocations: 6.061 MB / 462.1 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2289, allocations: 9.953 kB / 462.2 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.23, allocations: 1.344 MB / 463.5 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.2302, allocations: 195.1 kB / 463.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.2303, allocations: 20 kB / 463.7 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.2307, allocations: 29.97 kB / 463.7 MB, free: 26.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.2308, allocations: 89.77 kB / 463.8 MB, free: 26.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.2308, allocations: 37.97 kB / 463.9 MB, free: 26.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005855/0.2314, allocations: 0.9082 MB / 464.8 MB, free: 25.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2314, allocations: 0 / 464.8 MB, free: 25.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001988/0.2334, allocations: 0.6992 MB / 465.5 MB, free: 24.67 MB / 330.7 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.0002031/0.2336, allocations: 158 kB / 465.6 MB, free: 24.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.2354, allocations: 2.657 MB / 468.3 MB, free: 21.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2354, allocations: 0 / 468.3 MB, free: 21.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.2359, allocations: 0.8572 MB / 469.1 MB, free: 20.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.2366, allocations: 295.8 kB / 469.4 MB, free: 20.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.2417, allocations: 5.78 MB / 475.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.2423, allocations: 0.9903 MB / 476.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006513/0.243, allocations: 321.1 kB / 476.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.2434, allocations: 426.1 kB / 476.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2434, allocations: 0 / 476.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of Templates: time 0.03133/0.2747, allocations: 20.67 MB / 497.6 MB, free: 8.75 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.647867855615914]