Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001212/0.001212, 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.001344/0.001344, allocations: 214.3 kB / 24.51 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.356/1.356, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 48.06 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 53.36 MB / 431.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003427/0.2484, allocations: 1.538 MB / 433.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004768/0.2488, allocations: 139.5 kB / 433.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2489, allocations: 11.94 kB / 433.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2491, allocations: 7.922 kB / 433.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.887e-05/0.2492, allocations: 3.938 kB / 433.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2494, allocations: 43.89 kB / 433.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.2495, allocations: 39.86 kB / 433.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2497, allocations: 15.97 kB / 433.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.2497, allocations: 15.94 kB / 433.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.2497, allocations: 19.86 kB / 433.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.2498, allocations: 4 kB / 433.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.2498, allocations: 0 / 433.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.2498, allocations: 23.92 kB / 433.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.2499, allocations: 15.88 kB / 433.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.25, allocations: 57.98 kB / 433.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.25, allocations: 0 / 433.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.25, allocations: 0 / 433.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.25, allocations: 0 / 433.8 MB, free: 4.875 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.0004886/0.2505, allocations: 294.1 kB / 434.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2506, allocations: 12.03 kB / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.2506, allocations: 192 / 434.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.2506, allocations: 34.75 kB / 434.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.2506, allocations: 8.891 kB / 434.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.2509, allocations: 153.2 kB / 434.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2509, allocations: 4.375 kB / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2509, allocations: 384 / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2512, allocations: 118.2 kB / 434.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2512, allocations: 4 kB / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2512, allocations: 7.938 kB / 434.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.2513, allocations: 0 / 434.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.018e-05/0.2514, allocations: 31.92 kB / 434.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.2518, allocations: 329 kB / 434.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2519, allocations: 79.78 kB / 434.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.252, allocations: 30.62 kB / 434.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.252, allocations: 4 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.252, allocations: 34.5 kB / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.252, allocations: 3.938 kB / 434.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002903/0.2523, allocations: 97.55 kB / 435 MB, free: 3.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.2524, allocations: 106.8 kB / 435.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.2525, allocations: 145.8 kB / 435.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2525, allocations: 25.7 kB / 435.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.2526, allocations: 84.14 kB / 435.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.2526, allocations: 11.89 kB / 435.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.2526, allocations: 17.72 kB / 435.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2528, allocations: 323.1 kB / 435.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.2528, allocations: 15.94 kB / 435.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.2529, allocations: 43.41 kB / 435.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.253, allocations: 51.34 kB / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.253, allocations: 0 / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.2531, allocations: 77.64 kB / 435.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2531, allocations: 7.984 kB / 435.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2531, allocations: 0 / 435.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2532, allocations: 4 kB / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.2532, allocations: 0 / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2532, allocations: 0 / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.2532, allocations: 8 kB / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.2532, allocations: 4 kB / 435.9 MB, free: 2.473 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[1],sample1.u[2],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.0001214/0.2533, allocations: 129.7 kB / 436 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/0.2534, allocations: 53.7 kB / 436.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.2535, allocations: 15.92 kB / 436.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.2535, allocations: 4 kB / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2535, allocations: 0 / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2535, allocations: 0 / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.2537, allocations: 144.7 kB / 436.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2537, allocations: 7.938 kB / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-06/0.2537, allocations: 0 / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2537, allocations: 0 / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2537, allocations: 0 / 436.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2537, allocations: 4 kB / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.2537, allocations: 7.969 kB / 436.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.254, allocations: 259.5 kB / 436.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.254, allocations: 11.95 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2541, allocations: 0 / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.2541, allocations: 7.984 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.2542, allocations: 4 kB / 436.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2542, allocations: 4 kB / 436.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.157e-05/0.2543, allocations: 110.2 kB / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2543, allocations: 0 / 436.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000257/0.2545, allocations: 7.938 kB / 436.7 MB, free: 1.637 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[1],sample1.u[2],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.0005415/0.2551, allocations: 0.7984 MB / 437.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.2552, allocations: 35.92 kB / 437.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2552, allocations: 0 / 437.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.2553, allocations: 15.98 kB / 437.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.2557, allocations: 28.42 kB / 437.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2571, allocations: 1.451 MB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.962e-05/0.2572, allocations: 75.33 kB / 439.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.405e-05/0.2572, allocations: 7.984 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.2573, allocations: 19.44 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2573, allocations: 7.938 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.2797, allocations: 1.907 MB / 441 MB, free: 13.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.7, allocations: 14.5 kB / 441 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.9636393210385] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 10.848538630991243 10.863505247 10.610387 Calling exit ...