Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.001928/0.001928, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002389/0.002389, allocations: 205 kB / 21.45 MB, free: 1.629 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.49/1.49, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.003351/0.003351, allocations: 71.81 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1419, allocations: 53.32 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003386/0.1453, allocations: 1.638 MB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1464, allocations: 0.561 MB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.1465, allocations: 3.938 kB / 429.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.1466, allocations: 7.922 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1467, allocations: 15.81 kB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1471, allocations: 71.22 kB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1472, allocations: 59.72 kB / 429.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1473, allocations: 16 kB / 429.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1475, allocations: 47.77 kB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.1475, allocations: 27.86 kB / 429.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1476, allocations: 4 kB / 429.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.776e-05/0.1476, allocations: 11.94 kB / 429.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.1477, allocations: 19.92 kB / 429.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.1477, allocations: 31.73 kB / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1479, allocations: 79.59 kB / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1479, allocations: 0 / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1479, allocations: 0 / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1479, allocations: 0 / 429.6 MB, free: 2.203 MB / 350.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.0006315/0.1485, allocations: 410.9 kB / 430 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1486, allocations: 12.03 kB / 430 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.1486, allocations: 34.69 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.1489, allocations: 24.88 kB / 430.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1492, allocations: 212.1 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1492, allocations: 8.359 kB / 430.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1492, allocations: 4.375 kB / 430.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.1495, allocations: 130 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1495, allocations: 0 / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1495, allocations: 4 kB / 430.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.1496, allocations: 4 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1497, allocations: 43.91 kB / 430.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.1502, allocations: 373.9 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1504, allocations: 79.78 kB / 430.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.1505, allocations: 38.62 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1505, allocations: 3.938 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1505, allocations: 42.55 kB / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1505, allocations: 4 kB / 431 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003707/0.1509, allocations: 105.5 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.151, allocations: 114.8 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1511, allocations: 154.2 kB / 431.4 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1512, allocations: 26.08 kB / 431.4 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.1512, allocations: 104.1 kB / 431.5 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.1513, allocations: 7.938 kB / 431.5 MB, free: 36 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1513, allocations: 17.72 kB / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.1515, allocations: 326.8 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.1516, allocations: 19.98 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.1517, allocations: 43.36 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1518, allocations: 67.34 kB / 432 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1518, allocations: 0 / 432 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002166/0.1521, allocations: 93.48 kB / 432 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1521, allocations: 6.188 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1521, allocations: 4 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1521, allocations: 0 / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.1522, allocations: 15.98 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1522, allocations: 7.938 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.1523, allocations: 7.984 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1523, allocations: 0 / 432.1 MB, free: 15.39 MB / 366.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: 0 () * 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.0001092/0.1524, allocations: 129.9 kB / 432.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.1525, allocations: 45.66 kB / 432.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.1525, allocations: 15.86 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.1525, allocations: 0 / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1525, allocations: 4 kB / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1525, allocations: 0 / 432.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.1528, allocations: 193.5 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1528, allocations: 0 / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1528, allocations: 11.92 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1529, allocations: 8.031 kB / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1529, allocations: 0 / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1529, allocations: 0 / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1529, allocations: 0 / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.1532, allocations: 267.5 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.1532, allocations: 105.2 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1533, allocations: 3.984 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1534, allocations: 4 kB / 432.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1534, allocations: 0 / 432.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1534, allocations: 7.984 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.1535, allocations: 119.2 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1535, allocations: 0 / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1539, allocations: 8 kB / 433 MB, free: 14.38 MB / 366.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: 0 () * 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.0006216/0.1545, allocations: 0.8106 MB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1547, allocations: 51.91 kB / 433.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1547, allocations: 0 / 433.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.1548, allocations: 23.86 kB / 433.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1552, allocations: 28.02 kB / 433.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.157, allocations: 1.581 MB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1574, allocations: 0.704 MB / 436.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.1574, allocations: 11.98 kB / 436.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.1575, allocations: 23.42 kB / 436.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1575, allocations: 0 / 436.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.1828, allocations: 1.958 MB / 438.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.496, allocations: 11.67 kB / 438.2 MB, free: 9.195 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.318165036849678] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.56860871007666 8.772093543 8.621541342 Calling exit ...