Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02747/0.02758, allocations: 112.3 kB / 17.11 MB, free: 6.008 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 194.8 kB / 20.06 MB, free: 3.09 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.096/4.096, allocations: 205.1 MB / 227.9 MB, free: 4.34 MB / 174.1 MB [Timeout remaining time 86] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08688/0.08688, allocations: 12.6 MB / 289.9 MB, free: 6.426 MB / 238.1 MB [Timeout remaining time 90] Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.01091/0.01091, allocations: 96.53 kB / 402.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2283, allocations: 49.39 MB / 452.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.007118/0.2354, allocations: 1.786 MB / 454 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.237, allocations: 0.5354 MB / 454.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.2374, allocations: 1.625 kB / 454.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.2378, allocations: 21.39 kB / 454.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.238, allocations: 9.562 kB / 454.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.2386, allocations: 77.38 kB / 454.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.2388, allocations: 110.7 kB / 454.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.2394, allocations: 91.69 kB / 454.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.2394, allocations: 62.98 kB / 455 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.2397, allocations: 58.02 kB / 455 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.2397, allocations: 8.875 kB / 455 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.2397, allocations: 9.094 kB / 455 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.24, allocations: 39.08 kB / 455.1 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.2401, allocations: 62.17 kB / 455.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.2402, allocations: 133.7 kB / 455.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2403, allocations: 1.156 kB / 455.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2403, allocations: 4 kB / 455.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.2404, allocations: 0 / 455.3 MB, free: 2.336 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003543/0.2439, allocations: 454.3 kB / 455.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.244, allocations: 9.812 kB / 455.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.244, allocations: 20.95 kB / 455.7 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.2447, allocations: 223.8 kB / 456 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.2449, allocations: 14.09 kB / 456 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2449, allocations: 12.22 kB / 456 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/0.2457, allocations: 348.1 kB / 456.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.2459, allocations: 0 / 456.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2459, allocations: 5.344 kB / 456.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.2459, allocations: 5.5 kB / 456.3 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2461, allocations: 111.7 kB / 456.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006593/0.2468, allocations: 460.2 kB / 456.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.2472, allocations: 254.6 kB / 457.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.2474, allocations: 121.1 kB / 457.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2474, allocations: 6.688 kB / 457.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.2474, allocations: 41.3 kB / 457.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.2475, allocations: 4 kB / 457.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001385/0.2488, allocations: 274.6 kB / 457.6 MB, free: 452 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2489, allocations: 138 kB / 457.7 MB, free: 288 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.249, allocations: 153 kB / 457.9 MB, free: 156 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.249, allocations: 35.02 kB / 457.9 MB, free: 116 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.249, allocations: 105.6 kB / 458 MB, free: 12 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.249, allocations: 12.28 kB / 458 MB, free: 4 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.2491, allocations: 36.67 kB / 458 MB, free: 15.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2493, allocations: 322.4 kB / 458.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.2494, allocations: 40.94 kB / 458.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.2495, allocations: 146.1 kB / 458.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.2498, allocations: 207.6 kB / 458.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2498, allocations: 1.906 kB / 458.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003081/0.2501, allocations: 203.3 kB / 458.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2501, allocations: 6.688 kB / 458.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2501, allocations: 8.531 kB / 459 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.2503, allocations: 5.5 kB / 459 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2504, allocations: 40.91 kB / 459 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2504, allocations: 9.062 kB / 459 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.2505, allocations: 19.44 kB / 459 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2506, allocations: 17.11 kB / 459 MB, free: 15.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.2507, allocations: 142 kB / 459.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.2509, allocations: 170.5 kB / 459.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.2509, allocations: 25.17 kB / 459.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.251, allocations: 3.188 kB / 459.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.251, allocations: 2.156 kB / 459.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.251, allocations: 5 kB / 459.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.2512, allocations: 208.4 kB / 459.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2512, allocations: 1.062 kB / 459.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.2514, allocations: 37.2 kB / 459.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2514, allocations: 2.062 kB / 459.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2514, allocations: 9.875 kB / 459.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.2514, allocations: 6.547 kB / 459.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2514, allocations: 1.344 kB / 459.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.2518, allocations: 393.2 kB / 460 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.2519, allocations: 93.83 kB / 460.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.2519, allocations: 10.16 kB / 460.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.252, allocations: 8.547 kB / 460.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.2522, allocations: 6.219 kB / 460.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2522, allocations: 8.516 kB / 460.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.2523, allocations: 115.4 kB / 460.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2523, allocations: 4 kB / 460.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.2526, allocations: 21.66 kB / 460.3 MB, free: 14.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (17): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005039/0.2531, allocations: 97.62 kB / 460.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007483/0.2539, allocations: 149.9 kB / 460.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2539, allocations: 4.312 kB / 460.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.254, allocations: 19.58 kB / 460.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.2545, allocations: 111 kB / 460.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.2553, allocations: 359.4 kB / 461 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.2557, allocations: 0.743 MB / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.2559, allocations: 18.34 kB / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.2561, allocations: 15.06 kB / 461.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2561, allocations: 4 kB / 461.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Templates: time 0.02483/0.281, allocations: 1.369 MB / 463.2 MB, free: 12.14 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile [Timeout 660] (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1) [Timeout 480]