Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 172.4 kB / 16.14 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.3 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 87.94 kB / 270.7 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09472/0.09472, allocations: 12.61 MB / 331.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004437, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08926, allocations: 50.37 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001682/0.09101, allocations: 1.226 MB / 444.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000369/0.09141, allocations: 131.6 kB / 444.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.09154, allocations: 7.938 kB / 444.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.09166, allocations: 7.984 kB / 444.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.09178, allocations: 7.922 kB / 444.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.09205, allocations: 35.92 kB / 444.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.722e-05/0.09215, allocations: 39.84 kB / 444.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.09228, allocations: 20.27 kB / 444.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.09233, allocations: 11.94 kB / 444.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.09238, allocations: 11.92 kB / 444.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.0924, allocations: 4 kB / 444.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.09242, allocations: 3.938 kB / 444.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.0925, allocations: 15.92 kB / 444.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.09255, allocations: 45.52 kB / 444.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.09266, allocations: 51.73 kB / 444.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.09268, allocations: 7.938 kB / 444.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.09269, allocations: 4 kB / 444.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.0927, allocations: 3.938 kB / 444.8 MB, free: 13.67 MB / 298.7 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.0004905/0.09319, allocations: 359.2 kB / 445.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.09325, allocations: 12.03 kB / 445.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.0933, allocations: 30.75 kB / 445.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.09334, allocations: 8.844 kB / 445.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.09352, allocations: 198.1 kB / 445.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.09355, allocations: 4.375 kB / 445.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.09357, allocations: 4.375 kB / 445.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.09384, allocations: 122.5 kB / 445.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.09386, allocations: 3.938 kB / 445.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.09388, allocations: 0 / 445.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.09391, allocations: 4 kB / 445.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.24e-05/0.09401, allocations: 35.92 kB / 445.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.09438, allocations: 361.8 kB / 445.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.09449, allocations: 79.78 kB / 446 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.09455, allocations: 38.62 kB / 446 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.09457, allocations: 0 / 446 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.09459, allocations: 38.56 kB / 446 MB, free: 12.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.09459, allocations: 0 / 446 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000273/0.09487, allocations: 97.5 kB / 446.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.09493, allocations: 115.1 kB / 446.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.09502, allocations: 133.8 kB / 446.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.09504, allocations: 29.64 kB / 446.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.09508, allocations: 100 kB / 446.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.09509, allocations: 4 kB / 446.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.0951, allocations: 0 / 446.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.221e-05/0.09517, allocations: 314.8 kB / 446.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.09522, allocations: 23.98 kB / 446.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.09527, allocations: 35.42 kB / 446.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.09537, allocations: 59.36 kB / 446.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.09538, allocations: 4 kB / 446.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001355/0.09552, allocations: 77.52 kB / 447 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.09555, allocations: 7.938 kB / 447 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.09556, allocations: 0 / 447 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.09558, allocations: 8.156 kB / 447 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.019e-05/0.09561, allocations: 4 kB / 447 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.09562, allocations: 0 / 447 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.09566, allocations: 11.97 kB / 447 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.09568, allocations: 4 kB / 447 MB, free: 11.08 MB / 298.7 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 (sample.u[1],sample.u[2],sample.y[2],sample.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.0001259/0.09581, allocations: 122.7 kB / 447.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.0959, allocations: 53.59 kB / 447.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.09593, allocations: 15.81 kB / 447.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.09596, allocations: 11.97 kB / 447.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.09597, allocations: 0 / 447.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.09598, allocations: 4 kB / 447.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.09618, allocations: 173.6 kB / 447.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.09619, allocations: 0 / 447.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.09621, allocations: 0 / 447.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.09621, allocations: 0 / 447.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.09623, allocations: 4 kB / 447.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.09623, allocations: 4 kB / 447.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.09624, allocations: 0 / 447.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.09645, allocations: 271.4 kB / 447.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.0965, allocations: 92.94 kB / 447.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.09652, allocations: 0 / 447.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.09661, allocations: 4 kB / 447.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.09666, allocations: 8 kB / 447.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.09667, allocations: 0 / 447.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.648e-05/0.09672, allocations: 113.7 kB / 447.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09673, allocations: 0 / 447.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.09698, allocations: 12 kB / 447.9 MB, free: 10.11 MB / 298.7 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 (sample.u[1],sample.u[2],sample.y[1],sample.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.0003259/0.09731, allocations: 0.7905 MB / 448.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.09746, allocations: 35.98 kB / 448.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.09747, allocations: 4.25 kB / 448.7 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.09752, allocations: 19.92 kB / 448.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.09791, allocations: 28.02 kB / 448.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.09897, allocations: 1.477 MB / 450.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.09915, allocations: 0.7004 MB / 451 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.09919, allocations: 7.984 kB / 451 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.09924, allocations: 12.84 kB / 451 MB, free: 6.863 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.09925, allocations: 0 / 451 MB, free: 6.863 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.1103, allocations: 1.467 MB / 452.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.1105, allocations: 257.5 kB / 452.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.741, allocations: 0 / 452.7 MB, free: 5.121 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat