Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001188/0.001188, 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.001295/0.001295, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.444/1.444, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 51.92 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2674, allocations: 52.17 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002773/0.2702, allocations: 1.564 MB / 425 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003715/0.2705, allocations: 139.5 kB / 425.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.2706, allocations: 3.938 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.421e-05/0.2707, allocations: 3.938 kB / 425.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.2708, allocations: 15.92 kB / 425.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.271, allocations: 47.09 kB / 425.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.2711, allocations: 39.91 kB / 425.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.2712, allocations: 11.98 kB / 425.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.2712, allocations: 23.86 kB / 425.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.2713, allocations: 15.92 kB / 425.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2713, allocations: 0 / 425.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-06/0.2713, allocations: 4 kB / 425.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.2713, allocations: 19.94 kB / 425.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.2714, allocations: 31.73 kB / 425.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2715, allocations: 55.41 kB / 425.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2715, allocations: 4 kB / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2715, allocations: 0 / 425.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.2715, allocations: 0 / 425.4 MB, free: 12.65 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.0004083/0.2719, allocations: 311 kB / 425.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2719, allocations: 12.03 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.187e-05/0.272, allocations: 192 / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.272, allocations: 34.75 kB / 425.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.272, allocations: 16.83 kB / 425.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.2722, allocations: 142.4 kB / 425.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2722, allocations: 4.375 kB / 425.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.2722, allocations: 4.312 kB / 425.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2725, allocations: 130.2 kB / 426 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2725, allocations: 0 / 426 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.2725, allocations: 0 / 426 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.2726, allocations: 11.97 kB / 426 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.2727, allocations: 31.97 kB / 426.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.2731, allocations: 340.9 kB / 426.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2732, allocations: 79.72 kB / 426.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.2733, allocations: 38.62 kB / 426.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.2733, allocations: 7.984 kB / 426.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.2733, allocations: 34.55 kB / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2733, allocations: 0 / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003201/0.2737, allocations: 109.5 kB / 426.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.2737, allocations: 111.2 kB / 426.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2739, allocations: 140.4 kB / 426.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2739, allocations: 29.7 kB / 426.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.274, allocations: 100 kB / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.274, allocations: 0 / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.274, allocations: 25.67 kB / 427.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2742, allocations: 322.8 kB / 427.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.2742, allocations: 15.98 kB / 427.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.2743, allocations: 39.42 kB / 427.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2744, allocations: 63.34 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2744, allocations: 4 kB / 427.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001704/0.2746, allocations: 81.53 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2746, allocations: 8 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2746, allocations: 0 / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2746, allocations: 0 / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.2747, allocations: 12.12 kB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2747, allocations: 4 kB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.2748, allocations: 7.984 kB / 427.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.2748, allocations: 0 / 427.6 MB, free: 10.15 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[2],sample1.u[1],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.0001128/0.2749, allocations: 133.7 kB / 427.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.275, allocations: 53.55 kB / 427.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.275, allocations: 15.95 kB / 427.8 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.275, allocations: 4 kB / 427.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.275, allocations: 4.031 kB / 427.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.275, allocations: 0 / 427.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.2752, allocations: 144.7 kB / 427.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2752, allocations: 4 kB / 427.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.2753, allocations: 7.984 kB / 428 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2753, allocations: 0 / 428 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2753, allocations: 4 kB / 428 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2753, allocations: 0 / 428 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2753, allocations: 0 / 428 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.2756, allocations: 271.5 kB / 428.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.2756, allocations: 19.94 kB / 428.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2756, allocations: 0 / 428.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.2757, allocations: 7.984 kB / 428.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.2757, allocations: 7.875 kB / 428.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2757, allocations: 8 kB / 428.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.2759, allocations: 107.2 kB / 428.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2759, allocations: 0 / 428.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.2761, allocations: 15.94 kB / 428.4 MB, free: 9.277 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[2],sample1.u[1],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.0005841/0.2767, allocations: 0.8023 MB / 429.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.2769, allocations: 47.89 kB / 429.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2769, allocations: 0 / 429.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.277, allocations: 16.3 kB / 429.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2773, allocations: 28.27 kB / 429.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.2789, allocations: 1.497 MB / 430.8 MB, free: 6.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2792, allocations: 0.6924 MB / 431.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.2792, allocations: 7.984 kB / 431.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.2793, allocations: 19.44 kB / 431.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2793, allocations: 0 / 431.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.3008, allocations: 1.846 MB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.7, allocations: 10.86 kB / 433.4 MB, free: 4.305 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.052308521990199] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 10.851019317982718 10.873586359 10.598027786 Calling exit ...