Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 101.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 188.4 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 47.92 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 52.19 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002749/0.2506, allocations: 1.523 MB / 424.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003818/0.251, allocations: 135.6 kB / 425 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.251, allocations: 7.938 kB / 425 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2511, allocations: 7.922 kB / 425 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.2512, allocations: 3.938 kB / 425 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.2515, allocations: 43.89 kB / 425.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2516, allocations: 39.86 kB / 425.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2517, allocations: 19.97 kB / 425.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.2517, allocations: 15.94 kB / 425.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.502e-05/0.2517, allocations: 19.86 kB / 425.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2518, allocations: 0 / 425.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.2518, allocations: 4 kB / 425.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.2518, allocations: 15.92 kB / 425.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.2519, allocations: 19.88 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.252, allocations: 50 kB / 425.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.252, allocations: 0 / 425.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.252, allocations: 7.984 kB / 425.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.252, allocations: 4 kB / 425.3 MB, free: 12.51 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.0004428/0.2524, allocations: 298 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2525, allocations: 8.031 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.423e-05/0.2525, allocations: 8.125 kB / 425.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.2525, allocations: 34.75 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.2525, allocations: 8.891 kB / 425.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.2528, allocations: 138.4 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2528, allocations: 12.34 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2528, allocations: 4.312 kB / 425.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.253, allocations: 126.1 kB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2531, allocations: 0 / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2531, allocations: 8 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.2531, allocations: 0 / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.2532, allocations: 27.92 kB / 425.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.2536, allocations: 325 kB / 426.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2537, allocations: 79.78 kB / 426.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.2538, allocations: 34.62 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.2538, allocations: 3.938 kB / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2538, allocations: 34.56 kB / 426.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2538, allocations: 0 / 426.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002961/0.2541, allocations: 93.55 kB / 426.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.2542, allocations: 111.1 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2543, allocations: 148.9 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2543, allocations: 29.7 kB / 426.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.2544, allocations: 88.12 kB / 426.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.2544, allocations: 7.938 kB / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.2544, allocations: 21.67 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2545, allocations: 318.8 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.2546, allocations: 12 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.2546, allocations: 39.42 kB / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.2547, allocations: 55.34 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2547, allocations: 0 / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/0.2549, allocations: 65.62 kB / 427.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2549, allocations: 8 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2549, allocations: 0 / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2549, allocations: 0 / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-05/0.2549, allocations: 12.05 kB / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.2549, allocations: 7.984 kB / 427.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.255, allocations: 4 kB / 427.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.255, allocations: 0 / 427.4 MB, free: 10.11 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.000108/0.2551, allocations: 125.8 kB / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.2552, allocations: 49.66 kB / 427.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.2552, allocations: 15.95 kB / 427.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.2552, allocations: 4 kB / 427.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2552, allocations: 7.938 kB / 427.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2552, allocations: 0 / 427.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.2554, allocations: 152.7 kB / 427.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2554, allocations: 0 / 427.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-06/0.2554, allocations: 7.938 kB / 427.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2554, allocations: 0 / 427.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2554, allocations: 3.938 kB / 427.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2554, allocations: 4 kB / 427.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2554, allocations: 0 / 427.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.2557, allocations: 255.6 kB / 428 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.2557, allocations: 8.125 kB / 428 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2557, allocations: 8 kB / 428 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.2558, allocations: 3.984 kB / 428 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2558, allocations: 11.98 kB / 428 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2558, allocations: 3.938 kB / 428 MB, free: 9.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.2559, allocations: 107.2 kB / 428.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2559, allocations: 4 kB / 428.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.2562, allocations: 7.953 kB / 428.2 MB, free: 9.258 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.0005059/0.2567, allocations: 0.7867 MB / 428.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.2568, allocations: 43.91 kB / 429 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2568, allocations: 0 / 429 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.2569, allocations: 19.92 kB / 429 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.2572, allocations: 22.08 kB / 429 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2586, allocations: 1.448 MB / 430.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.303e-05/0.2587, allocations: 79.19 kB / 430.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.2587, allocations: 7.984 kB / 430.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.2588, allocations: 19.44 kB / 430.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2588, allocations: 0 / 430.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2802, allocations: 1.915 MB / 432.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.8, allocations: 3.938 kB / 432.5 MB, free: 4.922 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.067138210055418] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 10.955768639105372 10.969989168 10.715047302 Calling exit ...