Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 8.059 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.88 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2573, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002999/0.2603, allocations: 1.545 MB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000445/0.2607, allocations: 155.4 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.2608, allocations: 0 / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.088e-05/0.2609, allocations: 3.938 kB / 433.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.261, allocations: 7.938 kB / 433.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.2612, allocations: 43.83 kB / 433.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2613, allocations: 35.86 kB / 433.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2614, allocations: 15.98 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.2615, allocations: 15.92 kB / 433.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.2615, allocations: 15.92 kB / 433.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2615, allocations: 4 kB / 433.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.2615, allocations: 4 kB / 433.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.2616, allocations: 19.92 kB / 433.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.2616, allocations: 23.81 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2618, allocations: 63.47 kB / 433.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2618, allocations: 0 / 433.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2618, allocations: 0 / 433.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2618, allocations: 0 / 433.9 MB, free: 4.949 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.000479/0.2622, allocations: 295 kB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2623, allocations: 12.03 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.2623, allocations: 34.75 kB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.2624, allocations: 12.89 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2626, allocations: 138.4 kB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2626, allocations: 8.359 kB / 434.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.2626, allocations: 384 / 434.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.2629, allocations: 126.5 kB / 434.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2629, allocations: 3.938 kB / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.2629, allocations: 3.938 kB / 434.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.263, allocations: 7.938 kB / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.2631, allocations: 23.98 kB / 434.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.2635, allocations: 344.8 kB / 434.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2636, allocations: 75.78 kB / 434.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.2637, allocations: 34.61 kB / 435 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2637, allocations: 0 / 435 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.2637, allocations: 38.56 kB / 435 MB, free: 3.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2637, allocations: 0 / 435 MB, free: 3.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003142/0.264, allocations: 101.5 kB / 435.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.2641, allocations: 102.8 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2643, allocations: 141.5 kB / 435.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2643, allocations: 25.7 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.2644, allocations: 92.12 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.2644, allocations: 11.88 kB / 435.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.2644, allocations: 21.72 kB / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2646, allocations: 322.8 kB / 435.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.2646, allocations: 8 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.2647, allocations: 39.42 kB / 435.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.2648, allocations: 55.34 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2648, allocations: 0 / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001447/0.2649, allocations: 73.52 kB / 436 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2649, allocations: 8 kB / 436 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.265, allocations: 0 / 436 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.265, allocations: 3.984 kB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.143e-05/0.265, allocations: 8 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.265, allocations: 0 / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.265, allocations: 4 kB / 436 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.265, allocations: 0 / 436 MB, free: 2.547 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.0001389/0.2652, allocations: 129.9 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.2653, allocations: 49.59 kB / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.2653, allocations: 19.91 kB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.2653, allocations: 4 kB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2653, allocations: 0 / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2653, allocations: 0 / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.2656, allocations: 144.7 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2656, allocations: 0 / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.2656, allocations: 7.938 kB / 436.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2656, allocations: 8.016 kB / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2656, allocations: 0 / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2656, allocations: 0 / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2656, allocations: 4 kB / 436.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.2659, allocations: 259.5 kB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.2659, allocations: 19.94 kB / 436.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2659, allocations: 4 kB / 436.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.266, allocations: 7.938 kB / 436.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.266, allocations: 3.984 kB / 436.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2661, allocations: 4 kB / 436.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.2661, allocations: 103.3 kB / 436.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2661, allocations: 0 / 436.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.2664, allocations: 4 kB / 436.7 MB, free: 1.707 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.0005978/0.267, allocations: 0.7945 MB / 437.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2672, allocations: 48.09 kB / 437.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2672, allocations: 0 / 437.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.2672, allocations: 12 kB / 437.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.2676, allocations: 21.7 kB / 437.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.2691, allocations: 1.462 MB / 439.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2695, allocations: 0.6885 MB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.063e-05/0.2695, allocations: 16.22 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.2696, allocations: 11.44 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2696, allocations: 0 / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.2955, allocations: 1.72 MB / 441.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.396, allocations: 0.7031 kB / 441.5 MB, free: 12.9 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_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-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.76876676408574] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.466660871170461 8.492021171 8.224884164 Calling exit ...