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.SampleVectorizedAndClocked.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.001429/0.001429, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.001744/0.001744, allocations: 215.5 kB / 23.48 MB, free: 5.254 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.421/1.421, allocations: 230.5 MB / 257 MB, free: 8.254 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",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.002128/0.002128, allocations: 67.89 kB / 377.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2552, allocations: 53.31 MB / 430.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002723/0.258, allocations: 1.556 MB / 431.9 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.2583, allocations: 151.5 kB / 432.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.2584, allocations: 0 / 432.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.984e-05/0.2585, allocations: 3.938 kB / 432.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.2586, allocations: 15.86 kB / 432.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.2588, allocations: 39.91 kB / 432.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2589, allocations: 39.84 kB / 432.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.259, allocations: 8 kB / 432.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.259, allocations: 15.92 kB / 432.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.2591, allocations: 23.86 kB / 432.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.2591, allocations: 7.938 kB / 432.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.2591, allocations: 4 kB / 432.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.2591, allocations: 19.97 kB / 432.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2592, allocations: 31.75 kB / 432.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.2593, allocations: 60.09 kB / 432.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2593, allocations: 3.938 kB / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2593, allocations: 0 / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2593, allocations: 4 kB / 432.4 MB, free: 5.281 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005315/0.2599, allocations: 383.1 kB / 432.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2599, allocations: 8.031 kB / 432.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.2599, allocations: 38.73 kB / 432.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.26, allocations: 8.891 kB / 432.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.2602, allocations: 196.2 kB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.2602, allocations: 4.312 kB / 433 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2603, allocations: 4.375 kB / 433 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.2606, allocations: 126.4 kB / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2606, allocations: 3.938 kB / 433.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2606, allocations: 0 / 433.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.2606, allocations: 4 kB / 433.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2607, allocations: 31.97 kB / 433.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.2612, allocations: 377.8 kB / 433.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2613, allocations: 87.83 kB / 433.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.2614, allocations: 30.56 kB / 433.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.2614, allocations: 0 / 433.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2615, allocations: 34.56 kB / 433.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2615, allocations: 0 / 433.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003416/0.2618, allocations: 113.6 kB / 433.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.2619, allocations: 110.8 kB / 433.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.262, allocations: 149 kB / 434 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.262, allocations: 25.7 kB / 434.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.2621, allocations: 88.14 kB / 434.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.2621, allocations: 8.219 kB / 434.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.2622, allocations: 25.72 kB / 434.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2623, allocations: 314.8 kB / 434.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.2624, allocations: 15.98 kB / 434.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.2624, allocations: 39.41 kB / 434.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.2626, allocations: 75.22 kB / 434.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2626, allocations: 0 / 434.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001696/0.2627, allocations: 85.5 kB / 434.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2628, allocations: 10.94 kB / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2628, allocations: 0 / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.2628, allocations: 7.984 kB / 434.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.2629, allocations: 8 kB / 434.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2629, allocations: 0 / 434.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.2629, allocations: 7.984 kB / 434.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2629, allocations: 4 kB / 434.7 MB, free: 2.594 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001264/0.263, allocations: 117.8 kB / 434.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.2631, allocations: 61.58 kB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.2632, allocations: 11.83 kB / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.2632, allocations: 12.06 kB / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2632, allocations: 0 / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2632, allocations: 0 / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.2634, allocations: 177.6 kB / 435.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2634, allocations: 4 kB / 435.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.2635, allocations: 7.984 kB / 435.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2635, allocations: 0 / 435.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.2635, allocations: 7.984 kB / 435.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2635, allocations: 4.031 kB / 435.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2635, allocations: 0 / 435.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.2638, allocations: 267.4 kB / 435.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.2639, allocations: 97.05 kB / 435.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2639, allocations: 4 kB / 435.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.264, allocations: 7.984 kB / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.264, allocations: 0 / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.264, allocations: 8 kB / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.049e-05/0.2641, allocations: 111.2 kB / 435.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2641, allocations: 0 / 435.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.2644, allocations: 11.94 kB / 435.6 MB, free: 1.598 MB / 334.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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0006009/0.265, allocations: 0.7984 MB / 436.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2652, allocations: 52.02 kB / 436.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2652, allocations: 0 / 436.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.2652, allocations: 12 kB / 436.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.2656, allocations: 33.28 kB / 436.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.2672, allocations: 1.494 MB / 438 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.2676, allocations: 0.6924 MB / 438.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2676, allocations: 7.984 kB / 438.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.2677, allocations: 19.44 kB / 438.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2677, allocations: 0 / 438.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.2918, allocations: 1.685 MB / 440.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/8.011, allocations: 8.047 kB / 440.4 MB, free: 12.75 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.259531451156363] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.076956585980952 8.091271816 7.829093531 Calling exit ...