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.001216/0.001216, 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.001334/0.001334, allocations: 205.2 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.374/1.374, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001545/0.001545, allocations: 52.02 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.237, allocations: 53.37 MB / 431.9 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002672/0.2397, allocations: 1.542 MB / 433.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003465/0.2401, allocations: 147.4 kB / 433.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.2401, allocations: 4 kB / 433.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.118e-05/0.2402, allocations: 7.922 kB / 433.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.2403, allocations: 3.938 kB / 433.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.2405, allocations: 43.83 kB / 433.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.2406, allocations: 43.86 kB / 433.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.2407, allocations: 15.97 kB / 433.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.2407, allocations: 15.94 kB / 433.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.2407, allocations: 15.92 kB / 433.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2407, allocations: 7.938 kB / 433.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-06/0.2407, allocations: 0 / 433.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.2408, allocations: 19.92 kB / 433.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.2408, allocations: 23.81 kB / 433.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2409, allocations: 55.53 kB / 433.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2409, allocations: 7.938 kB / 433.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2409, allocations: 4 kB / 433.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2409, allocations: 0 / 433.9 MB, free: 5.047 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.0004017/0.2414, allocations: 294.6 kB / 434.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2414, allocations: 8.031 kB / 434.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.447e-05/0.2414, allocations: 4.188 kB / 434.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.2414, allocations: 34.75 kB / 434.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2415, allocations: 8.891 kB / 434.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2417, allocations: 146.3 kB / 434.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2417, allocations: 384 / 434.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2417, allocations: 4.375 kB / 434.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.2419, allocations: 122.2 kB / 434.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2419, allocations: 0 / 434.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.2419, allocations: 3.938 kB / 434.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.242, allocations: 11.94 kB / 434.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.2421, allocations: 23.98 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.2424, allocations: 336.9 kB / 434.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2426, allocations: 75.72 kB / 434.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.2426, allocations: 34.69 kB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.2426, allocations: 0 / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2426, allocations: 38.55 kB / 435 MB, free: 3.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.2426, allocations: 4 kB / 435 MB, free: 3.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002866/0.2429, allocations: 101.5 kB / 435.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.243, allocations: 102.8 kB / 435.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2431, allocations: 136.5 kB / 435.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2431, allocations: 25.7 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.2432, allocations: 96.5 kB / 435.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.2432, allocations: 7.891 kB / 435.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.2432, allocations: 17.72 kB / 435.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2434, allocations: 322.8 kB / 435.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.2434, allocations: 11.98 kB / 435.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.2435, allocations: 39.41 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.2436, allocations: 59.3 kB / 435.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2436, allocations: 0 / 435.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.2437, allocations: 73.56 kB / 436 MB, free: 2.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2438, allocations: 16.06 kB / 436 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2438, allocations: 4 kB / 436 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2438, allocations: 0 / 436 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-05/0.2438, allocations: 4 kB / 436 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2438, allocations: 3.984 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.2438, allocations: 4 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2438, allocations: 0 / 436 MB, free: 2.645 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 9.94e-05/0.2439, allocations: 125.8 kB / 436.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.244, allocations: 57.59 kB / 436.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.2441, allocations: 15.91 kB / 436.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2441, allocations: 0 / 436.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2441, allocations: 4 kB / 436.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2441, allocations: 0 / 436.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2443, allocations: 144.7 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2443, allocations: 3.938 kB / 436.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-06/0.2443, allocations: 4 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2443, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2443, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.2443, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.2443, allocations: 12.02 kB / 436.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.2446, allocations: 255.5 kB / 436.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2446, allocations: 19.94 kB / 436.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2446, allocations: 0 / 436.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.2447, allocations: 4 kB / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.2447, allocations: 4 kB / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2447, allocations: 4 kB / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.372e-05/0.2448, allocations: 107.2 kB / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2448, allocations: 0 / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.2451, allocations: 7.984 kB / 436.8 MB, free: 1.809 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.0005429/0.2456, allocations: 0.8003 MB / 437.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.2457, allocations: 27.98 kB / 437.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2457, allocations: 7.938 kB / 437.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.509e-05/0.2458, allocations: 16.3 kB / 437.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.2462, allocations: 27.95 kB / 437.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.2476, allocations: 1.457 MB / 439.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2479, allocations: 0.6963 MB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.818e-05/0.2479, allocations: 4 kB / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.248, allocations: 15.42 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.248, allocations: 4 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.2699, allocations: 1.858 MB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.6, allocations: 7.25 kB / 441.7 MB, free: 12.89 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.88015883101616] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 10.759324669954367 10.77420211 10.530423205 Calling exit ...