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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 95.94 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 182.8 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002797, allocations: 7.266 kB / 300.8 MB, free: 5.934 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 50.42 MB / 351.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001821/0.1379, allocations: 1.232 MB / 352.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003608/0.1383, allocations: 139.5 kB / 352.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.1383, allocations: 4 kB / 352.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.292e-05/0.1384, allocations: 3.938 kB / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.1385, allocations: 3.984 kB / 352.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1388, allocations: 39.84 kB / 352.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.1389, allocations: 31.95 kB / 352.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.139, allocations: 11.94 kB / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.106e-05/0.139, allocations: 15.92 kB / 352.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.1391, allocations: 19.86 kB / 352.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1391, allocations: 3.938 kB / 352.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.1391, allocations: 0 / 352.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.1392, allocations: 15.94 kB / 352.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1392, allocations: 29.7 kB / 352.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1393, allocations: 35.92 kB / 352.8 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1393, allocations: 4 kB / 352.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1393, allocations: 0 / 352.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1393, allocations: 0 / 352.8 MB, free: 9.988 MB / 286.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.000493/0.1398, allocations: 379 kB / 353.2 MB, free: 9.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1399, allocations: 8.031 kB / 353.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.14, allocations: 34.52 kB / 353.2 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.14, allocations: 7.906 kB / 353.2 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1402, allocations: 198.8 kB / 353.4 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1402, allocations: 4 kB / 353.4 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1402, allocations: 4 kB / 353.4 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1406, allocations: 125.9 kB / 353.6 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1406, allocations: 7.953 kB / 353.6 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1406, allocations: 0 / 353.6 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.1406, allocations: 7.984 kB / 353.6 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1408, allocations: 43.91 kB / 353.6 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.1415, allocations: 369.9 kB / 354 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1417, allocations: 95.8 kB / 354.1 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1417, allocations: 3.938 kB / 354.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1418, allocations: 34.55 kB / 354.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.1418, allocations: 0 / 354.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005561/0.1423, allocations: 198.8 kB / 354.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1425, allocations: 110.8 kB / 354.4 MB, free: 8.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1426, allocations: 144.8 kB / 354.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1427, allocations: 25.98 kB / 354.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.1428, allocations: 96.12 kB / 354.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.1428, allocations: 4 kB / 354.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.1428, allocations: 0 / 354.7 MB, free: 7.848 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.143, allocations: 310.8 kB / 355 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.1431, allocations: 23.98 kB / 355 MB, free: 7.512 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1432, allocations: 47.41 kB / 355 MB, free: 7.453 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1433, allocations: 23.98 kB / 355.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1434, allocations: 0 / 355.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002745/0.1436, allocations: 97.41 kB / 355.2 MB, free: 7.328 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1437, allocations: 11.92 kB / 355.2 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1437, allocations: 0 / 355.2 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1437, allocations: 4 kB / 355.2 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1439, allocations: 8 kB / 355.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1439, allocations: 12.06 kB / 355.2 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.144, allocations: 12.08 kB / 355.2 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.144, allocations: 4 kB / 355.2 MB, free: 7.277 MB / 286.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.0002041/0.1442, allocations: 129.8 kB / 355.3 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1443, allocations: 53.48 kB / 355.4 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.1444, allocations: 15.86 kB / 355.4 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.1444, allocations: 4 kB / 355.4 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1445, allocations: 4.031 kB / 355.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1445, allocations: 0 / 355.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.1449, allocations: 173.7 kB / 355.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1449, allocations: 0 / 355.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.145, allocations: 11.98 kB / 355.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.145, allocations: 3.953 kB / 355.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.145, allocations: 0 / 355.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.145, allocations: 4 kB / 355.6 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.145, allocations: 0 / 355.6 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.1455, allocations: 306.9 kB / 355.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.1456, allocations: 89 kB / 356 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1456, allocations: 4 kB / 356 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1458, allocations: 7.984 kB / 356 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.1459, allocations: 4 kB / 356 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1459, allocations: 4 kB / 356 MB, free: 6.359 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.146, allocations: 108.6 kB / 356.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.146, allocations: 0 / 356.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000459/0.1465, allocations: 8 kB / 356.1 MB, free: 6.246 MB / 286.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.0008551/0.1474, allocations: 0.9666 MB / 357.1 MB, free: 5.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.1476, allocations: 52.14 kB / 357.1 MB, free: 5.191 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1477, allocations: 4.062 kB / 357.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.1478, allocations: 23.92 kB / 357.2 MB, free: 5.164 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.1482, allocations: 28.72 kB / 357.2 MB, free: 5.137 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1498, allocations: 1.001 MB / 358.2 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1502, allocations: 0.6965 MB / 358.9 MB, free: 3.344 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.1503, allocations: 19.98 kB / 358.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.1503, allocations: 11.5 kB / 358.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1503, allocations: 3.938 kB / 358.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.1677, allocations: 1.437 MB / 360.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003222/0.1681, allocations: 220 kB / 360.6 MB, free: 1.809 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.082, allocations: 0 / 360.6 MB, free: 1.809 MB / 286.1 MB (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/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat