Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001485/0.001485, 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.001507/0.001507, allocations: 206.1 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 51.92 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 53.36 MB / 431.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002705/0.2407, allocations: 1.557 MB / 433.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003653/0.2411, allocations: 151.4 kB / 433.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.2411, allocations: 4 kB / 433.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.291e-05/0.2412, allocations: 11.86 kB / 433.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.2413, allocations: 7.938 kB / 433.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.2415, allocations: 39.89 kB / 433.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.2416, allocations: 43.8 kB / 433.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.022e-05/0.2417, allocations: 11.98 kB / 433.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.2418, allocations: 15.94 kB / 433.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2418, allocations: 15.92 kB / 433.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2418, allocations: 4 kB / 433.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.2418, allocations: 0 / 433.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.2419, allocations: 27.91 kB / 433.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2419, allocations: 31.75 kB / 433.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.242, allocations: 52.45 kB / 433.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.242, allocations: 0 / 433.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.242, allocations: 3.938 kB / 433.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.242, allocations: 3.938 kB / 433.9 MB, free: 5.035 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.0004595/0.2425, allocations: 309.9 kB / 434.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2425, allocations: 12.03 kB / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.533e-05/0.2426, allocations: 192 / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.2426, allocations: 38.73 kB / 434.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.2426, allocations: 8.891 kB / 434.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.2428, allocations: 134.4 kB / 434.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2428, allocations: 4.375 kB / 434.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2428, allocations: 4.375 kB / 434.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2431, allocations: 138.2 kB / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2432, allocations: 0 / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2432, allocations: 0 / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2432, allocations: 4 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.2433, allocations: 35.91 kB / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.2437, allocations: 340.9 kB / 434.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2439, allocations: 79.78 kB / 435 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/0.244, allocations: 46.61 kB / 435 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.244, allocations: 0 / 435 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.244, allocations: 34.5 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.244, allocations: 0 / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000333/0.2443, allocations: 109.9 kB / 435.2 MB, free: 3.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.2444, allocations: 102.8 kB / 435.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.2446, allocations: 152.1 kB / 435.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2446, allocations: 25.7 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.2446, allocations: 92.12 kB / 435.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.2446, allocations: 3.953 kB / 435.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.2447, allocations: 21.72 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2448, allocations: 330.7 kB / 435.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.2449, allocations: 15.98 kB / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.245, allocations: 35.42 kB / 435.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2451, allocations: 67.34 kB / 436 MB, free: 2.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2451, allocations: 0 / 436 MB, free: 2.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001788/0.2453, allocations: 81.55 kB / 436.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2453, allocations: 10.81 kB / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2453, allocations: 0 / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2453, allocations: 4.125 kB / 436.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.2454, allocations: 15.98 kB / 436.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2454, allocations: 3.938 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.2454, allocations: 4 kB / 436.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2454, allocations: 0 / 436.1 MB, free: 2.543 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.0001087/0.2455, allocations: 129.7 kB / 436.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.2456, allocations: 53.64 kB / 436.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.2457, allocations: 15.95 kB / 436.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.2457, allocations: 8.078 kB / 436.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2457, allocations: 0 / 436.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2457, allocations: 0 / 436.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.2459, allocations: 148.7 kB / 436.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2459, allocations: 7.984 kB / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.246, allocations: 4 kB / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.246, allocations: 0 / 436.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.246, allocations: 7.984 kB / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.246, allocations: 0 / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.246, allocations: 3.938 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.2462, allocations: 267.5 kB / 436.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.2463, allocations: 19.88 kB / 436.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2463, allocations: 4 kB / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2464, allocations: 7.984 kB / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.2464, allocations: 12 kB / 436.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.2464, allocations: 0 / 436.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.834e-05/0.2465, allocations: 110 kB / 436.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2465, allocations: 0 / 436.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000253/0.2468, allocations: 8 kB / 436.9 MB, free: 1.672 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.000607/0.2474, allocations: 0.8022 MB / 437.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.2476, allocations: 51.89 kB / 437.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2476, allocations: 256 / 437.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/0.2476, allocations: 15.98 kB / 437.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.248, allocations: 27.95 kB / 437.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2496, allocations: 1.482 MB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2499, allocations: 0.7001 MB / 440 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.829e-05/0.25, allocations: 11.98 kB / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.25, allocations: 15.44 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.25, allocations: 3.938 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2717, allocations: 1.872 MB / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.68, allocations: 4 kB / 441.9 MB, free: 12.68 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.964988979976624] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 10.835228785988875 10.850528906 10.605523762 Calling exit ...