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.00154/0.00154, allocations: 177.7 kB / 8.046 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001112/0.001111, allocations: 102.2 kB / 261.8 MB, free: 13.44 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.1112/0.1112, allocations: 12.59 MB / 322.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.407e-05, allocations: 8 kB / 379 MB, free: 75.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5538, allocations: 76.9 MB / 0.4944 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5542, allocations: 79.5 kB / 0.4945 GB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004065/0.5583, allocations: 1.164 MB / 0.4957 GB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5583, allocations: 0 / 0.4957 GB, free: 11.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5583, allocations: 3.906 kB / 0.4957 GB, free: 11.32 MB / 330.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.0003625/0.5587, allocations: 352.8 kB / 0.496 GB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5588, allocations: 15.22 kB / 0.496 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.5588, allocations: 11 kB / 0.496 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.559, allocations: 187 kB / 0.4962 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.5591, allocations: 4 kB / 0.4962 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.5591, allocations: 7.797 kB / 0.4962 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/0.5592, allocations: 19.53 kB / 0.4962 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.5595, allocations: 114.7 kB / 0.4963 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5595, allocations: 0 / 0.4963 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5595, allocations: 0 / 0.4963 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5595, allocations: 4 kB / 0.4963 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.56, allocations: 343.9 kB / 0.4967 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.5601, allocations: 64.97 kB / 0.4967 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.5601, allocations: 25.61 kB / 0.4968 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.5602, allocations: 6.578 kB / 0.4968 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5602, allocations: 37.5 kB / 0.4968 GB, free: 10.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.5602, allocations: 0 / 0.4968 GB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.5605, allocations: 65.27 kB / 0.4969 GB, free: 10.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.5605, allocations: 109.8 kB / 0.497 GB, free: 10.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.5606, allocations: 121.3 kB / 0.4971 GB, free: 9.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.5607, allocations: 25.7 kB / 0.4971 GB, free: 9.895 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.5607, allocations: 89.64 kB / 0.4972 GB, free: 9.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.5607, allocations: 6.672 kB / 0.4972 GB, free: 9.809 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.5608, allocations: 0 / 0.4972 GB, free: 9.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.5608, allocations: 322.4 kB / 0.4975 GB, free: 9.492 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.5609, allocations: 7.281 kB / 0.4975 GB, free: 9.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.5609, allocations: 29.12 kB / 0.4975 GB, free: 9.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.561, allocations: 10.52 kB / 0.4976 GB, free: 9.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.561, allocations: 0 / 0.4976 GB, free: 9.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.5611, allocations: 70.08 kB / 0.4976 GB, free: 9.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5611, allocations: 3.688 kB / 0.4976 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5612, allocations: 0 / 0.4976 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5612, allocations: 3.656 kB / 0.4976 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.5612, allocations: 6.844 kB / 0.4976 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5612, allocations: 4.672 kB / 0.4976 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.5613, allocations: 0 / 0.4976 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5613, allocations: 7.828 kB / 0.4976 GB, free: 9.406 MB / 330.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 () * 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 8.001e-05/0.5614, allocations: 111 kB / 0.4978 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001886/0.5616, allocations: 73.38 kB / 0.4978 GB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.5617, allocations: 7.75 kB / 0.4978 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.5618, allocations: 10.61 kB / 0.4978 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5618, allocations: 3.969 kB / 0.4978 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5618, allocations: 0 / 0.4978 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5618, allocations: 0 / 0.4978 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.562, allocations: 153.5 kB / 0.498 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5621, allocations: 3.953 kB / 0.498 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.5621, allocations: 3.625 kB / 0.498 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5621, allocations: 3.969 kB / 0.498 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5621, allocations: 2.766 kB / 0.498 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.5621, allocations: 3.938 kB / 0.498 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5621, allocations: 0 / 0.498 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.5623, allocations: 267 kB / 0.4983 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.5624, allocations: 87.89 kB / 0.4983 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.5624, allocations: 3.812 kB / 0.4984 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.5626, allocations: 2.906 kB / 0.4984 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.5627, allocations: 3.844 kB / 0.4984 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.5627, allocations: 3.438 kB / 0.4984 GB, free: 8.727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.18e-05/0.5628, allocations: 108.4 kB / 0.4985 GB, free: 8.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5628, allocations: 0 / 0.4985 GB, free: 8.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003716/0.5632, allocations: 7.656 kB / 0.4985 GB, free: 8.648 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0004208/0.5636, allocations: 0.9362 MB / 0.4994 GB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.5637, allocations: 28.16 kB / 0.4994 GB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5638, allocations: 0 / 0.4994 GB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.5638, allocations: 6.422 kB / 0.4994 GB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.5642, allocations: 28.12 kB / 0.4994 GB, free: 7.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.5648, allocations: 162.3 kB / 0.4996 GB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.565, allocations: 0.6989 MB / 0.5003 GB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.807e-05/0.5651, allocations: 6.719 kB / 0.5003 GB, free: 6.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.5652, allocations: 11.31 kB / 0.5003 GB, free: 6.863 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5652, allocations: 0 / 0.5003 GB, free: 6.863 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.6031, allocations: 1.099 MB / 0.5014 GB, free: 6.777 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.6034, allocations: 187.5 kB / 0.5016 GB, free: 6.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.086, allocations: 0 / 0.5016 GB, free: 6.582 MB / 330.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