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.001569/0.001569, allocations: 181.7 kB / 15.8 MB, free: 6.316 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.056/2.056, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001118/0.001118, allocations: 90.88 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1421/0.1421, allocations: 12.6 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005865/0.0005866, allocations: 14.91 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09445, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.268, allocations: 77.32 MB / 0.5076 GB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.2684, allocations: 79.95 kB / 0.5077 GB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002594/0.271, allocations: 0.7459 MB / 0.5084 GB, free: 12.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.2711, allocations: 0 / 0.5084 GB, free: 12.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2711, allocations: 0 / 0.5084 GB, free: 12.59 MB / 362.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.0004276/0.2715, allocations: 339.6 kB / 0.5087 GB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2716, allocations: 12.03 kB / 0.5088 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.2716, allocations: 34.55 kB / 0.5088 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.2717, allocations: 3.906 kB / 0.5088 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.2719, allocations: 178.9 kB / 0.509 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2719, allocations: 7.953 kB / 0.509 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.272, allocations: 4 kB / 0.509 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.2725, allocations: 111.3 kB / 0.5091 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2725, allocations: 0 / 0.5091 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.2725, allocations: 4 kB / 0.5091 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2725, allocations: 0 / 0.5091 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.2727, allocations: 19.98 kB / 0.5091 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2729, allocations: 157.7 kB / 0.5092 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.2731, allocations: 54.48 kB / 0.5093 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2732, allocations: 7.984 kB / 0.5093 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2732, allocations: 38.56 kB / 0.5093 GB, free: 11.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.2732, allocations: 0 / 0.5093 GB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003894/0.2736, allocations: 73.8 kB / 0.5094 GB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.2737, allocations: 55.41 kB / 0.5095 GB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.2738, allocations: 104.8 kB / 0.5096 GB, free: 11.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2738, allocations: 29.64 kB / 0.5096 GB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.2739, allocations: 80.14 kB / 0.5097 GB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.2739, allocations: 8 kB / 0.5097 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.2739, allocations: 4 kB / 0.5097 GB, free: 11.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2741, allocations: 310.8 kB / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.2741, allocations: 4 kB / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.2742, allocations: 31.42 kB / 0.51 GB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.2742, allocations: 12 kB / 0.51 GB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2742, allocations: 0 / 0.51 GB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001232/0.2743, allocations: 61.56 kB / 0.5101 GB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2744, allocations: 11.89 kB / 0.5101 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2744, allocations: 4 kB / 0.5101 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2744, allocations: 0 / 0.5101 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.2745, allocations: 8 kB / 0.5101 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2745, allocations: 0 / 0.5101 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.2746, allocations: 4.125 kB / 0.5101 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2746, allocations: 4 kB / 0.5101 GB, free: 10.61 MB / 362.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 () * Number of clocked states: 1 (step.counter) * 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 0.0001006/0.2747, allocations: 121.6 kB / 0.5102 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.2749, allocations: 61.53 kB / 0.5103 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.275, allocations: 15.44 kB / 0.5103 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.275, allocations: 4 kB / 0.5103 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.275, allocations: 0 / 0.5103 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.275, allocations: 0 / 0.5103 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2751, allocations: 154 kB / 0.5105 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2752, allocations: 0 / 0.5105 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.2752, allocations: 15.98 kB / 0.5105 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2752, allocations: 0 / 0.5105 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2753, allocations: 0 / 0.5105 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2753, allocations: 3.953 kB / 0.5105 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2753, allocations: 0 / 0.5105 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2755, allocations: 85.11 kB / 0.5106 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.2756, allocations: 81.05 kB / 0.5106 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.2756, allocations: 0 / 0.5106 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.2757, allocations: 15.92 kB / 0.5106 GB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-06/0.2757, allocations: 3.953 kB / 0.5107 GB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.2757, allocations: 0 / 0.5107 GB, free: 9.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.2758, allocations: 83.28 kB / 0.5107 GB, free: 9.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2758, allocations: 0 / 0.5107 GB, free: 9.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.2761, allocations: 8 kB / 0.5107 GB, free: 9.867 MB / 362.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 () * Number of clocked states: 1 (step.counter) * 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.0007786/0.2768, allocations: 0.64 MB / 0.5114 GB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.2771, allocations: 31.92 kB / 0.5114 GB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2771, allocations: 0 / 0.5114 GB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.2771, allocations: 0 / 0.5114 GB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2774, allocations: 35.62 kB / 0.5114 GB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.2783, allocations: 0.827 MB / 0.5122 GB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2787, allocations: 0.6848 MB / 0.5129 GB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.78e-05/0.2787, allocations: 3.984 kB / 0.5129 GB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.2788, allocations: 15.44 kB / 0.5129 GB, free: 7.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2788, allocations: 0 / 0.5129 GB, free: 7.512 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.2987, allocations: 1.076 MB / 0.514 GB, free: 6.449 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005355/0.2993, allocations: 223.7 kB / 0.5142 GB, free: 6.191 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.554, allocations: 3.938 kB / 0.5142 GB, free: 6.188 MB / 362.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