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.002284/0.002284, allocations: 180.5 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.149/2.149, allocations: 205.2 MB / 219 MB, free: 9.211 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.001132/0.001132, allocations: 92.62 kB / 267.1 MB, free: 9.277 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.1422/0.1422, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.706e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09701, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5763, allocations: 77.27 MB / 0.5017 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/0.5768, allocations: 78.73 kB / 0.5018 GB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002956/0.5797, allocations: 0.6736 MB / 0.5024 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5798, allocations: 0 / 0.5024 GB, free: 11.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.5798, allocations: 0 / 0.5024 GB, free: 11.73 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.0003722/0.5802, allocations: 325.7 kB / 0.5027 GB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.5803, allocations: 8.5 kB / 0.5028 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.5804, allocations: 41.86 kB / 0.5028 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.5804, allocations: 0 / 0.5028 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.5806, allocations: 174.9 kB / 0.503 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.5807, allocations: 7.453 kB / 0.503 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.5807, allocations: 3.062 kB / 0.503 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.5811, allocations: 97.88 kB / 0.5031 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5811, allocations: 0 / 0.5031 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5812, allocations: 0 / 0.5031 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.5812, allocations: 0 / 0.5031 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/0.5813, allocations: 12.42 kB / 0.5031 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.5814, allocations: 157.5 kB / 0.5032 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.5816, allocations: 44.77 kB / 0.5033 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.5817, allocations: 22.67 kB / 0.5033 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.5818, allocations: 0 / 0.5033 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.5818, allocations: 30.56 kB / 0.5033 GB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.5818, allocations: 0 / 0.5033 GB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002081/0.582, allocations: 51.34 kB / 0.5034 GB, free: 10.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.5821, allocations: 58.97 kB / 0.5034 GB, free: 10.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.5822, allocations: 105.7 kB / 0.5035 GB, free: 10.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.5823, allocations: 29.64 kB / 0.5036 GB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.5823, allocations: 80.14 kB / 0.5036 GB, free: 10.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.5823, allocations: 3 kB / 0.5036 GB, free: 10.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5824, allocations: 0 / 0.5036 GB, free: 10.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.5825, allocations: 318.1 kB / 0.5039 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.5825, allocations: 3.812 kB / 0.5039 GB, free: 10.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.341e-05/0.5825, allocations: 31.12 kB / 0.504 GB, free: 10.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.5826, allocations: 7.844 kB / 0.504 GB, free: 10.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5826, allocations: 0 / 0.504 GB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002015/0.5828, allocations: 63.42 kB / 0.504 GB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5829, allocations: 7.828 kB / 0.504 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5829, allocations: 4.094 kB / 0.504 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.583, allocations: 4 kB / 0.5041 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.608e-05/0.583, allocations: 6.984 kB / 0.5041 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5831, allocations: 0 / 0.5041 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.5831, allocations: 0 / 0.5041 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5832, allocations: 3.844 kB / 0.5041 GB, free: 10.11 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.297e-05/0.5833, allocations: 104.8 kB / 0.5042 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5834, allocations: 55.44 kB / 0.5042 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.5834, allocations: 7.453 kB / 0.5042 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5834, allocations: 0 / 0.5042 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5835, allocations: 4 kB / 0.5042 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5835, allocations: 0 / 0.5042 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.133e-05/0.5836, allocations: 158.6 kB / 0.5044 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5836, allocations: 0 / 0.5044 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.5836, allocations: 4.688 kB / 0.5044 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5836, allocations: 2.438 kB / 0.5044 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.5836, allocations: 0 / 0.5044 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5837, allocations: 3.953 kB / 0.5044 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5837, allocations: 0 / 0.5044 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.5838, allocations: 82.45 kB / 0.5045 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.5838, allocations: 84.98 kB / 0.5045 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.5838, allocations: 2.734 kB / 0.5046 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.5839, allocations: 4 kB / 0.5046 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-06/0.5839, allocations: 3.953 kB / 0.5046 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.5839, allocations: 3.875 kB / 0.5046 GB, free: 9.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.326e-05/0.584, allocations: 79.12 kB / 0.5046 GB, free: 9.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.584, allocations: 0 / 0.5046 GB, free: 9.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000227/0.5842, allocations: 7.781 kB / 0.5046 GB, free: 9.5 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: 3 (step.y,assignClock1.u,assignClock1.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.0002734/0.5845, allocations: 0.6023 MB / 0.5052 GB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.134e-05/0.5846, allocations: 18.5 kB / 0.5053 GB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5846, allocations: 0 / 0.5053 GB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.5846, allocations: 3.938 kB / 0.5053 GB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.5848, allocations: 28.86 kB / 0.5053 GB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.5851, allocations: 100.9 kB / 0.5054 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.5853, allocations: 0.6875 MB / 0.5061 GB, free: 8.082 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.5853, allocations: 4 kB / 0.5061 GB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.5854, allocations: 10.62 kB / 0.5061 GB, free: 8.07 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5854, allocations: 0 / 0.5061 GB, free: 8.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.6083, allocations: 1.02 MB / 0.5071 GB, free: 7.793 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.6086, allocations: 182.3 kB / 0.5072 GB, free: 7.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.109, allocations: 0 / 0.5072 GB, free: 7.566 MB / 330.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