Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001223/0.001223, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001335/0.001335, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 43.94 kB / 378.5 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2537, allocations: 53.37 MB / 431.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002899/0.2566, allocations: 1.549 MB / 433.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000371/0.257, allocations: 143.4 kB / 433.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.2571, allocations: 4 kB / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.2572, allocations: 11.92 kB / 433.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.2573, allocations: 11.88 kB / 433.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2575, allocations: 35.89 kB / 433.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2576, allocations: 35.92 kB / 433.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2577, allocations: 18.09 kB / 433.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.2577, allocations: 15.88 kB / 433.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.2578, allocations: 23.84 kB / 433.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.2578, allocations: 4 kB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.2578, allocations: 4 kB / 433.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.2579, allocations: 23.92 kB / 433.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.2579, allocations: 27.75 kB / 433.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.258, allocations: 51.73 kB / 433.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.258, allocations: 0 / 433.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.258, allocations: 7.938 kB / 433.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.258, allocations: 0 / 433.8 MB, free: 4.727 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.0004683/0.2585, allocations: 309.9 kB / 434.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2585, allocations: 12.03 kB / 434.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.202e-05/0.2586, allocations: 192 / 434.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.2586, allocations: 30.75 kB / 434.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2586, allocations: 12.89 kB / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2588, allocations: 140.9 kB / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2589, allocations: 8.359 kB / 434.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2589, allocations: 4.375 kB / 434.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.2592, allocations: 126.2 kB / 434.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2592, allocations: 0 / 434.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.2592, allocations: 0 / 434.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.2592, allocations: 8 kB / 434.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.2593, allocations: 35.91 kB / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.2597, allocations: 333 kB / 434.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.2599, allocations: 83.77 kB / 434.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.26, allocations: 34.62 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.26, allocations: 0 / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.26, allocations: 46.5 kB / 435 MB, free: 3.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.26, allocations: 0 / 435 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003226/0.2603, allocations: 105.5 kB / 435.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.2604, allocations: 110.8 kB / 435.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2605, allocations: 145.8 kB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2606, allocations: 25.7 kB / 435.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.2606, allocations: 84.52 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.2606, allocations: 11.95 kB / 435.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.2607, allocations: 21.7 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2608, allocations: 322.8 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.2609, allocations: 11.98 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.2609, allocations: 47.34 kB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2611, allocations: 63.41 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2611, allocations: 0 / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001675/0.2612, allocations: 77.5 kB / 436 MB, free: 2.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2612, allocations: 11.94 kB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2613, allocations: 0 / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2613, allocations: 0 / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.2613, allocations: 15.98 kB / 436 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.2614, allocations: 4.125 kB / 436 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.2614, allocations: 11.98 kB / 436 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.2614, allocations: 0 / 436 MB, free: 2.242 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.0001162/0.2615, allocations: 125.7 kB / 436.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.2616, allocations: 53.62 kB / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.2616, allocations: 15.92 kB / 436.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2617, allocations: 7.984 kB / 436.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2617, allocations: 4 kB / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2617, allocations: 0 / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2619, allocations: 148.7 kB / 436.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2619, allocations: 4.078 kB / 436.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.2619, allocations: 4 kB / 436.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2619, allocations: 7.984 kB / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2619, allocations: 0 / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2619, allocations: 0 / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.262, allocations: 0 / 436.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.2622, allocations: 275.4 kB / 436.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.2623, allocations: 15.94 kB / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2623, allocations: 8 kB / 436.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.2624, allocations: 7.984 kB / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.2624, allocations: 0 / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.2624, allocations: 4 kB / 436.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.482e-05/0.2625, allocations: 110 kB / 436.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2625, allocations: 0 / 436.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.2628, allocations: 11.94 kB / 436.8 MB, free: 1.375 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.0005904/0.2633, allocations: 0.8023 MB / 437.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.2635, allocations: 47.89 kB / 437.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2635, allocations: 0 / 437.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-05/0.2636, allocations: 19.98 kB / 437.7 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.264, allocations: 20.02 kB / 437.7 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2655, allocations: 1.497 MB / 439.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.2656, allocations: 79.33 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.2656, allocations: 7.984 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.2657, allocations: 15.44 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2657, allocations: 4 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.2873, allocations: 1.936 MB / 441.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.84, allocations: 7.922 kB / 441.2 MB, free: 12.95 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_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_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.101661529042758] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 10.998698086943477 11.018232526 10.757467662 Calling exit ...