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.00149/0.001495, 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.159/2.159, 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.001112, allocations: 99.17 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.1408/0.1408, allocations: 12.59 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.953e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09567, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.548, allocations: 76.57 MB / 0.4941 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5483, allocations: 72.83 kB / 0.4942 GB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002412/0.5508, allocations: 0.7372 MB / 0.4949 GB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5508, allocations: 1.781 kB / 0.4949 GB, free: 11.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.5509, allocations: 0 / 0.4949 GB, free: 11.21 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.0003367/0.5512, allocations: 334.4 kB / 0.4952 GB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5513, allocations: 15.62 kB / 0.4952 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.5513, allocations: 0 / 0.4952 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.5515, allocations: 170 kB / 0.4954 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.5515, allocations: 3.969 kB / 0.4954 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.5516, allocations: 3.953 kB / 0.4954 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/0.5517, allocations: 17.34 kB / 0.4954 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.5519, allocations: 91.23 kB / 0.4955 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5519, allocations: 3.812 kB / 0.4955 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.552, allocations: 4 kB / 0.4955 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.552, allocations: 0 / 0.4955 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.5521, allocations: 135 kB / 0.4957 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.5522, allocations: 38.89 kB / 0.4957 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.5523, allocations: 18.78 kB / 0.4957 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.5523, allocations: 3.938 kB / 0.4957 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5523, allocations: 38.52 kB / 0.4958 GB, free: 10.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.624e-06/0.5523, allocations: 0 / 0.4958 GB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001504/0.5525, allocations: 47.33 kB / 0.4958 GB, free: 10.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.5525, allocations: 55.25 kB / 0.4959 GB, free: 10.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/0.5526, allocations: 95.28 kB / 0.4959 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.5526, allocations: 25.7 kB / 0.496 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.5527, allocations: 84.08 kB / 0.496 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.5527, allocations: 3.906 kB / 0.496 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.5527, allocations: 4 kB / 0.4961 GB, free: 10.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.5528, allocations: 313.7 kB / 0.4964 GB, free: 9.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.5528, allocations: 7.719 kB / 0.4964 GB, free: 9.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.5528, allocations: 27.56 kB / 0.4964 GB, free: 9.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/0.5529, allocations: 6.672 kB / 0.4964 GB, free: 9.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5529, allocations: 4 kB / 0.4964 GB, free: 9.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.175e-05/0.553, allocations: 55.36 kB / 0.4964 GB, free: 9.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.553, allocations: 7.562 kB / 0.4965 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.553, allocations: 3.938 kB / 0.4965 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.5531, allocations: 7.859 kB / 0.4965 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.5531, allocations: 7.844 kB / 0.4965 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5531, allocations: 0 / 0.4965 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.5532, allocations: 2.766 kB / 0.4965 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5532, allocations: 3.844 kB / 0.4965 GB, free: 9.664 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.379e-05/0.5533, allocations: 107.1 kB / 0.4966 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.671e-05/0.5534, allocations: 52.12 kB / 0.4966 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.5534, allocations: 7.859 kB / 0.4966 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.5534, allocations: 7.062 kB / 0.4966 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5534, allocations: 3.906 kB / 0.4967 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5535, allocations: 0 / 0.4967 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.5535, allocations: 2.812 kB / 0.4967 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.866e-05/0.5536, allocations: 134.4 kB / 0.4968 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5536, allocations: 3.688 kB / 0.4968 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.5536, allocations: 4 kB / 0.4968 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5537, allocations: 3.938 kB / 0.4968 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.5537, allocations: 0 / 0.4968 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5537, allocations: 4.828 kB / 0.4968 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5537, allocations: 0 / 0.4968 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.5538, allocations: 72.58 kB / 0.4969 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.5538, allocations: 81.02 kB / 0.4969 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.5539, allocations: 2.156 kB / 0.4969 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.5539, allocations: 7.688 kB / 0.497 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-06/0.5539, allocations: 3.953 kB / 0.497 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.554, allocations: 2.688 kB / 0.497 GB, free: 9.168 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.554, allocations: 88.59 kB / 0.497 GB, free: 9.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.554, allocations: 0 / 0.497 GB, free: 9.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.5543, allocations: 3.906 kB / 0.497 GB, free: 9.09 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.0003364/0.5546, allocations: 0.6203 MB / 0.4977 GB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.5547, allocations: 21.34 kB / 0.4977 GB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5548, allocations: 0 / 0.4977 GB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.5548, allocations: 0 / 0.4977 GB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.555, allocations: 17.19 kB / 0.4977 GB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.5553, allocations: 98.64 kB / 0.4978 GB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.5555, allocations: 0.6931 MB / 0.4985 GB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.5555, allocations: 8.406 kB / 0.4985 GB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.5555, allocations: 11.38 kB / 0.4985 GB, free: 7.652 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5556, allocations: 3.938 kB / 0.4985 GB, free: 7.648 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.5878, allocations: 0.7612 MB / 0.4992 GB, free: 7.582 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.5881, allocations: 167.5 kB / 0.4994 GB, free: 7.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.048, allocations: 0 / 0.4994 GB, free: 7.395 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