Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009913/0.0009913, allocations: 97.89 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 198.5 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003676, allocations: 4 kB / 306.7 MB, free: 1.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002165/0.141, allocations: 1.238 MB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.1415, allocations: 151.5 kB / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.1416, allocations: 0 / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1417, allocations: 3.938 kB / 359.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1418, allocations: 12 kB / 359.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.1421, allocations: 35.84 kB / 359.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1422, allocations: 23.97 kB / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1423, allocations: 19.95 kB / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.1424, allocations: 11.94 kB / 359.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.1424, allocations: 15.86 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1424, allocations: 0 / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.1425, allocations: 4 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.1425, allocations: 15.98 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.1426, allocations: 37.64 kB / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.17e-05/0.1427, allocations: 43.86 kB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1427, allocations: 0 / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1427, allocations: 0 / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1427, allocations: 0 / 359.8 MB, free: 12.18 MB / 302.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.0005709/0.1433, allocations: 371.2 kB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.1433, allocations: 12.03 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.1434, allocations: 42.48 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.1434, allocations: 7.906 kB / 360.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1437, allocations: 185.3 kB / 360.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1437, allocations: 4 kB / 360.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.1437, allocations: 7.984 kB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.1441, allocations: 129.9 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1441, allocations: 4 kB / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1441, allocations: 0 / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.1442, allocations: 0 / 360.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1443, allocations: 51.91 kB / 360.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.1448, allocations: 369.9 kB / 361 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.145, allocations: 91.77 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.145, allocations: 0 / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.145, allocations: 38.56 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.145, allocations: 4 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004126/0.1454, allocations: 190.6 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.1455, allocations: 115.2 kB / 361.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1457, allocations: 141.7 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1457, allocations: 25.7 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.1458, allocations: 88.14 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.1458, allocations: 4 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1458, allocations: 3.938 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.146, allocations: 326.8 kB / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.1461, allocations: 23.92 kB / 362 MB, free: 9.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.1462, allocations: 43.42 kB / 362 MB, free: 9.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.1462, allocations: 27.98 kB / 362.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1462, allocations: 0 / 362.1 MB, free: 9.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001781/0.1464, allocations: 85.5 kB / 362.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1465, allocations: 8 kB / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1465, allocations: 4.125 kB / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1465, allocations: 0 / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1466, allocations: 19.92 kB / 362.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1466, allocations: 3.938 kB / 362.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.1467, allocations: 12 kB / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1467, allocations: 0 / 362.2 MB, free: 9.484 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.1469, allocations: 128.4 kB / 362.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.147, allocations: 53.59 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.147, allocations: 15.83 kB / 362.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.147, allocations: 0 / 362.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.147, allocations: 8 kB / 362.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1471, allocations: 0 / 362.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1473, allocations: 181.6 kB / 362.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1473, allocations: 0 / 362.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1474, allocations: 11.94 kB / 362.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1474, allocations: 4 kB / 362.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1474, allocations: 8.031 kB / 362.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1474, allocations: 0 / 362.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1474, allocations: 0 / 362.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1477, allocations: 302.9 kB / 362.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.1478, allocations: 93 kB / 363 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1478, allocations: 0 / 363 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.1479, allocations: 4 kB / 363 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.148, allocations: 15.89 kB / 363 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.148, allocations: 4.125 kB / 363 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.118e-05/0.1481, allocations: 107.3 kB / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1481, allocations: 4 kB / 363.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1484, allocations: 4 kB / 363.1 MB, free: 8.441 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007246/0.1491, allocations: 0.9782 MB / 364.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1493, allocations: 51.91 kB / 364.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1493, allocations: 4 kB / 364.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.1494, allocations: 19.92 kB / 364.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1497, allocations: 29.42 kB / 364.2 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.151, allocations: 0.9927 MB / 365.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.1514, allocations: 0.6965 MB / 365.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.1514, allocations: 4 kB / 365.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.1515, allocations: 15.48 kB / 365.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1515, allocations: 0 / 365.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1652, allocations: 1.433 MB / 367.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.1655, allocations: 227.8 kB / 367.6 MB, free: 4.012 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.013, allocations: 0 / 367.6 MB, free: 4.012 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat