Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001114/0.001114, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001082/0.001082, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.556/1.556, allocations: 223.2 MB / 241.1 MB, free: 5.23 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.000282, allocations: 5.062 kB / 300.8 MB, free: 5.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 50.42 MB / 351.2 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002388/0.1463, allocations: 1.22 MB / 352.5 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003984/0.1467, allocations: 143.5 kB / 352.6 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.1468, allocations: 4 kB / 352.6 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.1469, allocations: 3.938 kB / 352.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.147, allocations: 0 / 352.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1473, allocations: 43.81 kB / 352.6 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1474, allocations: 27.98 kB / 352.7 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1476, allocations: 15.97 kB / 352.7 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.1476, allocations: 11.92 kB / 352.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.1477, allocations: 11.94 kB / 352.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1477, allocations: 4 kB / 352.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.1477, allocations: 0 / 352.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.1478, allocations: 11.92 kB / 352.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1478, allocations: 37.64 kB / 352.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.1479, allocations: 43.92 kB / 352.8 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1479, allocations: 0 / 352.8 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1479, allocations: 0 / 352.8 MB, free: 9.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1479, allocations: 0 / 352.8 MB, free: 9.738 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.0006103/0.1486, allocations: 359.1 kB / 353.2 MB, free: 9.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.1486, allocations: 8.031 kB / 353.2 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.1487, allocations: 38.5 kB / 353.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1487, allocations: 11.86 kB / 353.2 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.149, allocations: 194.8 kB / 353.4 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.149, allocations: 4 kB / 353.4 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.149, allocations: 4 kB / 353.4 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1494, allocations: 125.8 kB / 353.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.1494, allocations: 0 / 353.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1494, allocations: 0 / 353.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.1494, allocations: 11.95 kB / 353.5 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.87e-05/0.1495, allocations: 27.98 kB / 353.6 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.15, allocations: 361.9 kB / 353.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1502, allocations: 75.78 kB / 354 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.1502, allocations: 4.062 kB / 354 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1502, allocations: 38.56 kB / 354 MB, free: 8.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.1502, allocations: 0 / 354 MB, free: 8.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003771/0.1506, allocations: 190.5 kB / 354.2 MB, free: 8.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.1508, allocations: 111.2 kB / 354.3 MB, free: 7.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1511, allocations: 138 kB / 354.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1511, allocations: 25.7 kB / 354.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1512, allocations: 88.05 kB / 354.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.1512, allocations: 11.98 kB / 354.6 MB, free: 7.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.1512, allocations: 0 / 354.6 MB, free: 7.664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1513, allocations: 310.8 kB / 354.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.1514, allocations: 15.98 kB / 354.9 MB, free: 7.336 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.1515, allocations: 43.42 kB / 355 MB, free: 7.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.1515, allocations: 15.94 kB / 355 MB, free: 7.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1515, allocations: 0 / 355 MB, free: 7.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.1517, allocations: 81.52 kB / 355 MB, free: 7.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1517, allocations: 10.34 kB / 355.1 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1517, allocations: 0 / 355.1 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1518, allocations: 3.953 kB / 355.1 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.669e-05/0.1518, allocations: 7.938 kB / 355.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1518, allocations: 3.984 kB / 355.1 MB, free: 7.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.1518, allocations: 4 kB / 355.1 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1519, allocations: 128 / 355.1 MB, free: 7.152 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[1],sample1.u[2],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.0001822/0.1521, allocations: 133.7 kB / 355.2 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.1522, allocations: 49.61 kB / 355.3 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.1522, allocations: 15.86 kB / 355.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.1522, allocations: 3.953 kB / 355.3 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.1522, allocations: 4 kB / 355.3 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1522, allocations: 0 / 355.3 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.1526, allocations: 173.6 kB / 355.4 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1526, allocations: 0 / 355.4 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.1526, allocations: 7.969 kB / 355.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1526, allocations: 4 kB / 355.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.1527, allocations: 0 / 355.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1527, allocations: 0 / 355.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/0.1527, allocations: 12.03 kB / 355.5 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.153, allocations: 282.9 kB / 355.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.1531, allocations: 93 kB / 355.8 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1532, allocations: 7.953 kB / 355.8 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1533, allocations: 4 kB / 355.9 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.1534, allocations: 3.984 kB / 355.9 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1534, allocations: 4 kB / 355.9 MB, free: 6.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1535, allocations: 103.3 kB / 356 MB, free: 6.148 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1535, allocations: 4 kB / 356 MB, free: 6.145 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1538, allocations: 4 kB / 356 MB, free: 6.141 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[1],sample1.u[2],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.0007298/0.1545, allocations: 0.9588 MB / 356.9 MB, free: 5.145 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.1547, allocations: 39.91 kB / 357 MB, free: 5.105 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1547, allocations: 4.25 kB / 357 MB, free: 5.102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.1548, allocations: 16 kB / 357 MB, free: 5.086 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1551, allocations: 20.77 kB / 357 MB, free: 5.066 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1565, allocations: 0.9556 MB / 358 MB, free: 4.039 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.1569, allocations: 0.7004 MB / 358.7 MB, free: 3.312 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.1569, allocations: 7.984 kB / 358.7 MB, free: 3.305 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.157, allocations: 15.5 kB / 358.7 MB, free: 3.289 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.157, allocations: 4 kB / 358.7 MB, free: 3.285 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.1727, allocations: 1.43 MB / 360.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000303/0.1731, allocations: 218.4 kB / 360.3 MB, free: 1.793 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.086, allocations: 3.938 kB / 360.3 MB, free: 1.789 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat