Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",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.001547/0.001547, 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.168/2.168, 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.001582/0.001582, allocations: 101.8 kB / 261.8 MB, free: 13.43 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.106/0.106, allocations: 12.59 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.54e-05, allocations: 4 kB / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.0921, allocations: 50.37 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5438/0.636, allocations: 77 MB / 0.4945 GB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6363, allocations: 75 kB / 0.4946 GB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003457/0.6398, allocations: 1.053 MB / 0.4956 GB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.6398, allocations: 0 / 0.4956 GB, free: 11.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.6399, allocations: 7.781 kB / 0.4956 GB, free: 11.4 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.0003127/0.6402, allocations: 344.2 kB / 0.496 GB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6402, allocations: 11.31 kB / 0.496 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.6403, allocations: 7.344 kB / 0.496 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.6405, allocations: 187.9 kB / 0.4962 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6405, allocations: 0 / 0.4962 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.6406, allocations: 10.39 kB / 0.4962 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.046e-05/0.6406, allocations: 16.89 kB / 0.4962 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.6409, allocations: 110.5 kB / 0.4963 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6409, allocations: 0 / 0.4963 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6409, allocations: 0 / 0.4963 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.641, allocations: 3.984 kB / 0.4963 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.6413, allocations: 241.5 kB / 0.4965 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.6414, allocations: 123.6 kB / 0.4967 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.6415, allocations: 27.72 kB / 0.4967 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.6415, allocations: 3.875 kB / 0.4967 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.6416, allocations: 37.05 kB / 0.4967 GB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.6416, allocations: 0 / 0.4967 GB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.6418, allocations: 46.7 kB / 0.4968 GB, free: 10.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.6418, allocations: 84.7 kB / 0.4968 GB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.642, allocations: 115.4 kB / 0.497 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.642, allocations: 25.7 kB / 0.497 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.642, allocations: 88.88 kB / 0.4971 GB, free: 9.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.642, allocations: 3.906 kB / 0.4971 GB, free: 9.961 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.6421, allocations: 4.031 kB / 0.4971 GB, free: 9.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.6421, allocations: 317.4 kB / 0.4974 GB, free: 9.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.6422, allocations: 3.812 kB / 0.4974 GB, free: 9.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.803e-05/0.6422, allocations: 26.72 kB / 0.4974 GB, free: 9.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.6422, allocations: 6.766 kB / 0.4974 GB, free: 9.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6422, allocations: 4 kB / 0.4974 GB, free: 9.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.177e-05/0.6423, allocations: 54.84 kB / 0.4975 GB, free: 9.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.6424, allocations: 11 kB / 0.4975 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6424, allocations: 0 / 0.4975 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6424, allocations: 0 / 0.4975 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.6424, allocations: 11.84 kB / 0.4975 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6425, allocations: 0 / 0.4975 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.6425, allocations: 3.844 kB / 0.4975 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.6425, allocations: 4.125 kB / 0.4975 GB, free: 9.559 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,sample.y,assignClock.y,assignClock.u) * 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 5.739e-05/0.6426, allocations: 107.8 kB / 0.4976 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001057/0.6427, allocations: 66.38 kB / 0.4977 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.6428, allocations: 3.906 kB / 0.4977 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.6428, allocations: 8.188 kB / 0.4977 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.6428, allocations: 0 / 0.4977 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6428, allocations: 5.906 kB / 0.4977 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6429, allocations: 0 / 0.4977 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.643, allocations: 147.7 kB / 0.4978 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.643, allocations: 4.031 kB / 0.4978 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.643, allocations: 3.953 kB / 0.4978 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6431, allocations: 0 / 0.4978 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6431, allocations: 3.938 kB / 0.4978 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6431, allocations: 0 / 0.4978 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6431, allocations: 0 / 0.4978 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.6432, allocations: 169.5 kB / 0.498 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.6433, allocations: 93.53 kB / 0.4981 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.6433, allocations: 3.844 kB / 0.4981 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.6434, allocations: 240 / 0.4981 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.6435, allocations: 0 / 0.4981 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.6435, allocations: 3.906 kB / 0.4981 GB, free: 8.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.04e-05/0.6435, allocations: 100.3 kB / 0.4982 GB, free: 8.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6436, allocations: 0 / 0.4982 GB, free: 8.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.6439, allocations: 3.844 kB / 0.4982 GB, free: 8.898 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.y) * 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.0003262/0.6442, allocations: 0.7712 MB / 0.4989 GB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.6443, allocations: 19.22 kB / 0.499 GB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6443, allocations: 0 / 0.499 GB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.6444, allocations: 8 kB / 0.499 GB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.6447, allocations: 21.86 kB / 0.499 GB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.6452, allocations: 121.9 kB / 0.4991 GB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.6453, allocations: 0.7021 MB / 0.4998 GB, free: 7.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.6454, allocations: 0.5 kB / 0.4998 GB, free: 7.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.6454, allocations: 17.09 kB / 0.4998 GB, free: 7.289 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6455, allocations: 0 / 0.4998 GB, free: 7.289 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.6812, allocations: 0.8889 MB / 0.5007 GB, free: 7.211 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.6816, allocations: 160.1 kB / 0.5008 GB, free: 7.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.042, allocations: 2.531 kB / 0.5008 GB, free: 7.023 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat