Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep",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.00158/0.00158, allocations: 181.7 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.2 MB / 219 MB, free: 9.199 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.001177/0.001177, allocations: 89.84 kB / 267.1 MB, free: 9.262 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.1119/0.1119, allocations: 12.59 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.56e-05/4.578e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5548, allocations: 77.22 MB / 0.5017 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5552, allocations: 76.16 kB / 0.5017 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002453/0.5576, allocations: 0.743 MB / 0.5025 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5577, allocations: 0 / 0.5025 GB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.5577, allocations: 3.844 kB / 0.5025 GB, free: 11.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003291/0.5581, allocations: 331.3 kB / 0.5028 GB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.5581, allocations: 7.688 kB / 0.5028 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.5582, allocations: 30.56 kB / 0.5028 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.5582, allocations: 6.219 kB / 0.5028 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.5584, allocations: 178.8 kB / 0.503 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.5584, allocations: 7.391 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.5585, allocations: 3.969 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.5587, allocations: 99.94 kB / 0.5031 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5588, allocations: 0 / 0.5031 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5588, allocations: 0 / 0.5031 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5588, allocations: 0 / 0.5031 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.5589, allocations: 11.44 kB / 0.5031 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.559, allocations: 155 kB / 0.5033 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.5591, allocations: 43.12 kB / 0.5033 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.5592, allocations: 27.84 kB / 0.5033 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.5592, allocations: 3.938 kB / 0.5033 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.5593, allocations: 34.5 kB / 0.5034 GB, free: 10.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.5593, allocations: 0 / 0.5034 GB, free: 10.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.5595, allocations: 54.64 kB / 0.5034 GB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.5596, allocations: 58.59 kB / 0.5035 GB, free: 10.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.5597, allocations: 97 kB / 0.5036 GB, free: 10.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.5597, allocations: 25.7 kB / 0.5036 GB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.5597, allocations: 84.14 kB / 0.5037 GB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.5597, allocations: 3.047 kB / 0.5037 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.5598, allocations: 7.844 kB / 0.5037 GB, free: 10.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.5598, allocations: 310.8 kB / 0.504 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.5599, allocations: 3.875 kB / 0.504 GB, free: 10.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.5599, allocations: 32.91 kB / 0.504 GB, free: 10.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.56, allocations: 7.844 kB / 0.504 GB, free: 10.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.56, allocations: 3.781 kB / 0.504 GB, free: 10.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.5601, allocations: 68.23 kB / 0.5041 GB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5601, allocations: 6.859 kB / 0.5041 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5601, allocations: 3.844 kB / 0.5041 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5602, allocations: 0 / 0.5041 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.5602, allocations: 7.969 kB / 0.5041 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5603, allocations: 3.047 kB / 0.5041 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.5603, allocations: 3.844 kB / 0.5041 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5603, allocations: 0 / 0.5041 GB, free: 10.03 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.267e-05/0.5604, allocations: 112 kB / 0.5042 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.5605, allocations: 47.75 kB / 0.5043 GB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.5605, allocations: 10.83 kB / 0.5043 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5605, allocations: 3.844 kB / 0.5043 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5606, allocations: 0 / 0.5043 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5606, allocations: 4 kB / 0.5043 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.516e-05/0.5607, allocations: 160.1 kB / 0.5044 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5607, allocations: 0 / 0.5044 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.5607, allocations: 3.844 kB / 0.5044 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5608, allocations: 0 / 0.5044 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.5608, allocations: 0 / 0.5044 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.5608, allocations: 3.953 kB / 0.5044 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5608, allocations: 3.375 kB / 0.5044 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.5609, allocations: 82.78 kB / 0.5045 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.561, allocations: 80.95 kB / 0.5046 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.561, allocations: 2.859 kB / 0.5046 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.5611, allocations: 11.78 kB / 0.5046 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-06/0.5611, allocations: 3.953 kB / 0.5046 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.5611, allocations: 3.125 kB / 0.5046 GB, free: 9.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.653e-05/0.5611, allocations: 81.61 kB / 0.5047 GB, free: 9.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5611, allocations: 0 / 0.5047 GB, free: 9.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.5614, allocations: 7.406 kB / 0.5047 GB, free: 9.422 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0003946/0.5618, allocations: 0.6153 MB / 0.5053 GB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.5619, allocations: 22.22 kB / 0.5053 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5619, allocations: 0 / 0.5053 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.562, allocations: 3.844 kB / 0.5053 GB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5622, allocations: 19.27 kB / 0.5054 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.5625, allocations: 105.7 kB / 0.5055 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.5627, allocations: 0.6856 MB / 0.5061 GB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.419e-05/0.5628, allocations: 7.844 kB / 0.5061 GB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.5628, allocations: 14.28 kB / 0.5061 GB, free: 7.992 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5628, allocations: 0 / 0.5061 GB, free: 7.992 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.5889, allocations: 1.085 MB / 0.5072 GB, free: 7.711 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/0.5893, allocations: 182.3 kB / 0.5074 GB, free: 7.484 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.011, allocations: 0 / 0.5074 GB, free: 7.484 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat