Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",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.00228/0.00228, allocations: 185 kB / 15.8 MB, free: 6.312 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.071/2.071, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001157/0.001157, allocations: 94.84 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.1008/0.1008, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.000564, allocations: 14.14 kB / 392.1 MB, free: 54.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.08934, allocations: 50.36 MB / 442.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.2279, allocations: 77.38 MB / 0.5077 GB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.2283, allocations: 79.95 kB / 0.5077 GB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002046/0.2303, allocations: 0.6602 MB / 0.5084 GB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2304, allocations: 0 / 0.5084 GB, free: 12.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2304, allocations: 0 / 0.5084 GB, free: 12.63 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.0004102/0.2308, allocations: 343.5 kB / 0.5087 GB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2309, allocations: 8.031 kB / 0.5087 GB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.2309, allocations: 34.56 kB / 0.5088 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.231, allocations: 7.906 kB / 0.5088 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2312, allocations: 171 kB / 0.5089 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.2312, allocations: 3.953 kB / 0.5089 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2312, allocations: 11.94 kB / 0.5089 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2316, allocations: 103.3 kB / 0.509 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2316, allocations: 0 / 0.509 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.2317, allocations: 0 / 0.509 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2317, allocations: 0 / 0.509 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2318, allocations: 19.98 kB / 0.5091 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.232, allocations: 157.7 kB / 0.5092 GB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.2322, allocations: 50.5 kB / 0.5093 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2322, allocations: 3.953 kB / 0.5093 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2322, allocations: 30.56 kB / 0.5093 GB, free: 11.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.2323, allocations: 3.969 kB / 0.5093 GB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002944/0.2326, allocations: 69.81 kB / 0.5094 GB, free: 11.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.2326, allocations: 55.41 kB / 0.5094 GB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.2328, allocations: 104.9 kB / 0.5095 GB, free: 11.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2328, allocations: 25.7 kB / 0.5095 GB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.2328, allocations: 84.14 kB / 0.5096 GB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.2329, allocations: 4 kB / 0.5096 GB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.2329, allocations: 3.938 kB / 0.5096 GB, free: 11.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.233, allocations: 310.8 kB / 0.5099 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.233, allocations: 15.98 kB / 0.5099 GB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.2331, allocations: 23.44 kB / 0.51 GB, free: 10.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.2331, allocations: 8 kB / 0.51 GB, free: 10.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2331, allocations: 0 / 0.51 GB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/0.2333, allocations: 57.62 kB / 0.51 GB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2333, allocations: 7.953 kB / 0.51 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2333, allocations: 0 / 0.51 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2333, allocations: 4 kB / 0.51 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/0.2334, allocations: 3.938 kB / 0.51 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2334, allocations: 4 kB / 0.51 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.2335, allocations: 0 / 0.51 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.2335, allocations: 288 / 0.51 GB, free: 10.7 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked 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 0.0001028/0.2336, allocations: 117.8 kB / 0.5102 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.2337, allocations: 61.66 kB / 0.5102 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.2338, allocations: 15.45 kB / 0.5102 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2338, allocations: 0 / 0.5102 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2338, allocations: 3.938 kB / 0.5102 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2338, allocations: 3.938 kB / 0.5102 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.234, allocations: 153.7 kB / 0.5104 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.234, allocations: 0 / 0.5104 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.234, allocations: 0 / 0.5104 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.234, allocations: 4 kB / 0.5104 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2341, allocations: 7.984 kB / 0.5104 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2341, allocations: 3.953 kB / 0.5104 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2341, allocations: 0 / 0.5104 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2343, allocations: 81.03 kB / 0.5105 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.2343, allocations: 77.11 kB / 0.5105 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.2344, allocations: 0 / 0.5105 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.923e-05/0.2344, allocations: 7.984 kB / 0.5106 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-06/0.2344, allocations: 7.953 kB / 0.5106 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.2345, allocations: 0 / 0.5106 GB, free: 10.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.966e-05/0.2345, allocations: 83.53 kB / 0.5106 GB, free: 9.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2345, allocations: 0 / 0.5106 GB, free: 9.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.2348, allocations: 7.938 kB / 0.5106 GB, free: 9.965 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked 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.0005444/0.2353, allocations: 0.6165 MB / 0.5113 GB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.2355, allocations: 23.94 kB / 0.5113 GB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2355, allocations: 0 / 0.5113 GB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/0.2355, allocations: 3.984 kB / 0.5113 GB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2358, allocations: 27.73 kB / 0.5113 GB, free: 9.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.2368, allocations: 0.8173 MB / 0.5121 GB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2372, allocations: 0.6887 MB / 0.5128 GB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.12e-05/0.2372, allocations: 4 kB / 0.5128 GB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.2372, allocations: 7.438 kB / 0.5128 GB, free: 7.656 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2373, allocations: 0 / 0.5128 GB, free: 7.656 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2605, allocations: 1.006 MB / 0.5138 GB, free: 6.664 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/0.2609, allocations: 223.8 kB / 0.514 GB, free: 6.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.526, allocations: 0 / 0.514 GB, free: 6.406 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat