Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002378/0.002378, allocations: 213.7 kB / 24.54 MB, free: 3.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.004 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 68.77 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.238, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003582/0.2416, allocations: 1.919 MB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.2439, allocations: 1.332 MB / 435.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.244, allocations: 3.938 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.2443, allocations: 71.66 kB / 435.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.2447, allocations: 131.4 kB / 435.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.2454, allocations: 233.7 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.2457, allocations: 183.5 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2458, allocations: 23.84 kB / 435.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.246, allocations: 75.69 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.2461, allocations: 91.55 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2461, allocations: 8 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.2463, allocations: 75.94 kB / 436 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.721e-05/0.2464, allocations: 51.83 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.2465, allocations: 87.41 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2469, allocations: 239 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2469, allocations: 0 / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2469, allocations: 3.938 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2469, allocations: 0 / 436.4 MB, free: 2.363 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.0007447/0.2476, allocations: 478.5 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2477, allocations: 8.031 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.2477, allocations: 46.67 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.2478, allocations: 20.8 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.2482, allocations: 237.5 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2482, allocations: 384 / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2482, allocations: 15.88 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.2486, allocations: 155.6 kB / 437.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2486, allocations: 4 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.2486, allocations: 7.938 kB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2486, allocations: 0 / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.2488, allocations: 35.97 kB / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.2493, allocations: 357.4 kB / 437.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.2496, allocations: 115.9 kB / 437.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.2497, allocations: 46.56 kB / 437.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2497, allocations: 0 / 437.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.2499, allocations: 79.31 kB / 438 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2499, allocations: 0 / 438 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004203/0.2503, allocations: 153.4 kB / 438.1 MB, free: 448 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.2504, allocations: 166.5 kB / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.2508, allocations: 338 kB / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2509, allocations: 25.7 kB / 438.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.251, allocations: 136.1 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.251, allocations: 11.81 kB / 438.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.2511, allocations: 33.7 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2512, allocations: 338.8 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.2513, allocations: 31.92 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2514, allocations: 79.11 kB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.2516, allocations: 88.22 kB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2516, allocations: 0 / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.2518, allocations: 133.4 kB / 439.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2518, allocations: 7.938 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2518, allocations: 4 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2519, allocations: 0 / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.252, allocations: 24.11 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.252, allocations: 0 / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.252, allocations: 11.88 kB / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2521, allocations: 4 kB / 439.5 MB, free: 14.92 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.0001656/0.2522, allocations: 161.8 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.2523, allocations: 65.52 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.2526, allocations: 127.2 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2526, allocations: 4.062 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2526, allocations: 0 / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.2526, allocations: 11.97 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.2528, allocations: 208.7 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2528, allocations: 0 / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.2529, allocations: 11.98 kB / 440.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2529, allocations: 4 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2529, allocations: 128 / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2529, allocations: 8 kB / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2529, allocations: 0 / 440.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.2532, allocations: 166.5 kB / 440.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.2533, allocations: 43.83 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2533, allocations: 0 / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.2534, allocations: 11.94 kB / 440.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2534, allocations: 11.92 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2534, allocations: 4 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.2537, allocations: 253.2 kB / 440.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2537, allocations: 4 kB / 440.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.2539, allocations: 31.94 kB / 440.6 MB, free: 13.73 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.002018/0.256, allocations: 1.025 MB / 441.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.2562, allocations: 63.91 kB / 441.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.2562, allocations: 4 kB / 441.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.2563, allocations: 27.92 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.2567, allocations: 67.98 kB / 441.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.2594, allocations: 2.23 MB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.2598, allocations: 0.7437 MB / 444.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.2599, allocations: 25.48 kB / 444.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.26, allocations: 59.42 kB / 444.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.26, allocations: 0 / 444.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.29, allocations: 5.415 MB / 450.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.662, allocations: 0 / 450.3 MB, free: 4.098 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_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-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.083775797393173] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.810935628134757 8.836405904 8.586036792 Calling exit ...