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.001446/0.001446, allocations: 108.6 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.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.001297/0.001297, allocations: 197 kB / 24.5 MB, free: 4.008 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.377/1.377, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.001432/0.001432, allocations: 47.92 kB / 371.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2546, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002762/0.2574, allocations: 1.54 MB / 425 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.2578, allocations: 143.5 kB / 425.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.2578, allocations: 0 / 425.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.163e-05/0.2579, allocations: 11.92 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.258, allocations: 15.86 kB / 425.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.2582, allocations: 31.91 kB / 425.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.2583, allocations: 39.91 kB / 425.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.2584, allocations: 11.98 kB / 425.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.2585, allocations: 19.88 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.2585, allocations: 15.92 kB / 425.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.2585, allocations: 4 kB / 425.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.2585, allocations: 0 / 425.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.2586, allocations: 19.92 kB / 425.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.2586, allocations: 23.81 kB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.2587, allocations: 67.47 kB / 425.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2587, allocations: 0 / 425.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2587, allocations: 0 / 425.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2587, allocations: 0 / 425.3 MB, free: 12.67 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.0004162/0.2592, allocations: 303 kB / 425.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2592, allocations: 12.03 kB / 425.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.207e-05/0.2592, allocations: 192 / 425.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.2592, allocations: 30.75 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.2593, allocations: 8.891 kB / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2595, allocations: 146.3 kB / 425.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2595, allocations: 8.312 kB / 425.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2595, allocations: 8.359 kB / 425.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.2598, allocations: 126.1 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2598, allocations: 0 / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.2598, allocations: 0 / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.2598, allocations: 4 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.2599, allocations: 23.98 kB / 426 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.2603, allocations: 340.9 kB / 426.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2604, allocations: 75.78 kB / 426.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.2605, allocations: 34.56 kB / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.2605, allocations: 0 / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2605, allocations: 42.56 kB / 426.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2605, allocations: 0 / 426.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002835/0.2608, allocations: 97.48 kB / 426.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.2609, allocations: 102.8 kB / 426.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.261, allocations: 134.2 kB / 426.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.261, allocations: 29.7 kB / 426.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.2611, allocations: 96.08 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.2611, allocations: 7.938 kB / 426.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.2611, allocations: 25.67 kB / 427 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2612, allocations: 314.8 kB / 427.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.2613, allocations: 15.98 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.2614, allocations: 43.42 kB / 427.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.2614, allocations: 47.36 kB / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2614, allocations: 0 / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001423/0.2616, allocations: 77.55 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2616, allocations: 10.97 kB / 427.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2616, allocations: 0 / 427.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2616, allocations: 0 / 427.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.611e-05/0.2616, allocations: 4 kB / 427.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2616, allocations: 3.984 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.2617, allocations: 4 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.2617, allocations: 0 / 427.5 MB, free: 10.27 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.0001041/0.2618, allocations: 129.9 kB / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.302e-05/0.2619, allocations: 53.59 kB / 427.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.2619, allocations: 11.95 kB / 427.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.2619, allocations: 4 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2619, allocations: 0 / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2619, allocations: 0 / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.2622, allocations: 152.6 kB / 427.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2622, allocations: 0 / 427.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-06/0.2622, allocations: 4 kB / 427.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2622, allocations: 0 / 427.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2622, allocations: 4.031 kB / 427.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2622, allocations: 3.938 kB / 427.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2622, allocations: 7.938 kB / 427.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.2624, allocations: 255.5 kB / 428.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2625, allocations: 15.94 kB / 428.1 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2625, allocations: 7.984 kB / 428.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.2626, allocations: 4.141 kB / 428.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2626, allocations: 3.984 kB / 428.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2626, allocations: 8 kB / 428.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.134e-05/0.2627, allocations: 103.2 kB / 428.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2627, allocations: 0 / 428.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.2629, allocations: 11.95 kB / 428.2 MB, free: 9.422 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.0005669/0.2635, allocations: 0.7906 MB / 429 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.2636, allocations: 36.11 kB / 429.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2636, allocations: 4.062 kB / 429.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.2637, allocations: 15.98 kB / 429.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2641, allocations: 23.97 kB / 429.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2655, allocations: 1.447 MB / 430.6 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2658, allocations: 0.7 MB / 431.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.2658, allocations: 8.125 kB / 431.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.2659, allocations: 27.42 kB / 431.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2659, allocations: 0 / 431.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.2868, allocations: 1.843 MB / 433.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.69, allocations: 8 kB / 433.1 MB, free: 4.512 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.003045268007554] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 10.846010276000015 10.861423693 10.599654367 Calling exit ...