Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001244/0.001244, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001348/0.001348, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.351/1.351, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 51.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003386/0.2462, allocations: 1.929 MB / 433.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.2485, allocations: 1.321 MB / 435.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2486, allocations: 7.938 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.2489, allocations: 63.67 kB / 435.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.2492, allocations: 143.4 kB / 435.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.2499, allocations: 229.5 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.2501, allocations: 183.5 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.2502, allocations: 21.73 kB / 435.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2503, allocations: 75.7 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.2505, allocations: 91.59 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.2505, allocations: 15.94 kB / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.2507, allocations: 67.95 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.2508, allocations: 51.83 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.2509, allocations: 79.42 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.2512, allocations: 247.3 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2512, allocations: 0 / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2512, allocations: 4 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2512, allocations: 0 / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007171/0.2519, allocations: 478.5 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.252, allocations: 8.031 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.252, allocations: 8.125 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.252, allocations: 34.75 kB / 436.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.2521, allocations: 24.8 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.2525, allocations: 225.5 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2525, allocations: 16.12 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.2525, allocations: 11.98 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.2529, allocations: 155.5 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2529, allocations: 0 / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.2529, allocations: 11.98 kB / 437.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2529, allocations: 4 kB / 437.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.253, allocations: 35.98 kB / 437.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.2535, allocations: 361.3 kB / 437.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.2538, allocations: 115.9 kB / 437.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.921e-05/0.2539, allocations: 42.55 kB / 437.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2539, allocations: 4 kB / 437.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.2541, allocations: 79.33 kB / 438 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2541, allocations: 0 / 438 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003844/0.2545, allocations: 153.4 kB / 438.2 MB, free: 416 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.2546, allocations: 162.2 kB / 438.3 MB, free: 216 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.255, allocations: 338.2 kB / 438.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.255, allocations: 33.7 kB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2551, allocations: 128.1 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.2551, allocations: 19.83 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.2552, allocations: 33.72 kB / 438.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2554, allocations: 334.8 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.2555, allocations: 23.98 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2556, allocations: 86.84 kB / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2558, allocations: 80.22 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2558, allocations: 0 / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002533/0.256, allocations: 129.4 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.256, allocations: 4 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.256, allocations: 7.938 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.256, allocations: 0 / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2562, allocations: 19.98 kB / 439.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.2562, allocations: 3.938 kB / 439.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.2563, allocations: 12.25 kB / 439.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.2563, allocations: 7.938 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001587/0.2564, allocations: 173.9 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.2565, allocations: 65.52 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.2568, allocations: 123.3 kB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2568, allocations: 0 / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2568, allocations: 3.938 kB / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2568, allocations: 0 / 439.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.257, allocations: 216.5 kB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.257, allocations: 4.062 kB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.2571, allocations: 12 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.2571, allocations: 4 kB / 440.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.2571, allocations: 3.984 kB / 440.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2571, allocations: 0 / 440.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.2571, allocations: 11.88 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.2574, allocations: 162.6 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.2575, allocations: 39.84 kB / 440.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.2575, allocations: 0 / 440.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.2576, allocations: 7.984 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.2576, allocations: 11.94 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.2577, allocations: 7.984 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.2579, allocations: 241.2 kB / 440.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2579, allocations: 0 / 440.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.2582, allocations: 39.92 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002063/0.2602, allocations: 1.02 MB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.2605, allocations: 75.89 kB / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2605, allocations: 0 / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.2605, allocations: 27.92 kB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.2609, allocations: 72.89 kB / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.2636, allocations: 2.242 MB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.264, allocations: 0.7437 MB / 444.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.869e-05/0.2641, allocations: 29.47 kB / 444.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2642, allocations: 63.39 kB / 444.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2642, allocations: 4 kB / 444.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.2911, allocations: 5.5 MB / 450.4 MB, free: 4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.88, allocations: 10.86 kB / 450.4 MB, free: 3.992 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.267222600989044] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 11.090910894970875 11.107547264 10.853553006 Calling exit ...