Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1",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.002216/0.002216, 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.112/2.112, 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.001178/0.001177, allocations: 94.8 kB / 270.3 MB, free: 13.36 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.1024/0.1024, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005443/0.0005442, allocations: 14.23 kB / 392.1 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09399, allocations: 50.37 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.2338, allocations: 77.76 MB / 0.508 GB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.2342, allocations: 79.95 kB / 0.5081 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003867/0.238, allocations: 1.063 MB / 0.5091 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2381, allocations: 4 kB / 0.5092 GB, free: 11.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2381, allocations: 0 / 0.5092 GB, free: 11.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004344/0.2385, allocations: 359.1 kB / 0.5095 GB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2386, allocations: 8.031 kB / 0.5095 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.2387, allocations: 34.56 kB / 0.5095 GB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2387, allocations: 11.89 kB / 0.5095 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.2389, allocations: 183.5 kB / 0.5097 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.239, allocations: 7.891 kB / 0.5097 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.239, allocations: 4 kB / 0.5097 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.2393, allocations: 117 kB / 0.5098 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2393, allocations: 0 / 0.5098 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2394, allocations: 4 kB / 0.5098 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2394, allocations: 0 / 0.5098 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.2395, allocations: 23.92 kB / 0.5099 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.2399, allocations: 257.8 kB / 0.5101 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.2401, allocations: 138.2 kB / 0.5103 GB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2402, allocations: 7.984 kB / 0.5103 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2402, allocations: 34.64 kB / 0.5103 GB, free: 10.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2402, allocations: 0 / 0.5103 GB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000291/0.2405, allocations: 73.59 kB / 0.5104 GB, free: 10.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.2406, allocations: 77.11 kB / 0.5104 GB, free: 10.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2408, allocations: 129.4 kB / 0.5106 GB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2408, allocations: 25.7 kB / 0.5106 GB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.2409, allocations: 84.05 kB / 0.5107 GB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.2409, allocations: 4 kB / 0.5107 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2409, allocations: 0 / 0.5107 GB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.241, allocations: 318.8 kB / 0.511 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.2411, allocations: 8 kB / 0.511 GB, free: 9.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.838e-05/0.2412, allocations: 39.36 kB / 0.511 GB, free: 9.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.526e-05/0.2412, allocations: 8 kB / 0.511 GB, free: 9.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2413, allocations: 3.953 kB / 0.511 GB, free: 9.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001737/0.2414, allocations: 65.72 kB / 0.5111 GB, free: 9.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2415, allocations: 4 kB / 0.5111 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2415, allocations: 0 / 0.5111 GB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2415, allocations: 4 kB / 0.5111 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.2415, allocations: 3.984 kB / 0.5111 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2416, allocations: 3.938 kB / 0.5111 GB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.2416, allocations: 4 kB / 0.5111 GB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2416, allocations: 0 / 0.5111 GB, free: 9.535 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: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * 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.000116/0.2418, allocations: 125.6 kB / 0.5112 GB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2419, allocations: 57.86 kB / 0.5113 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.2419, allocations: 7.906 kB / 0.5113 GB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.242, allocations: 4.047 kB / 0.5113 GB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.242, allocations: 11.92 kB / 0.5113 GB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.242, allocations: 0 / 0.5113 GB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.2422, allocations: 165.7 kB / 0.5115 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2422, allocations: 0 / 0.5115 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.2422, allocations: 7.891 kB / 0.5115 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2423, allocations: 7.984 kB / 0.5115 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2423, allocations: 0 / 0.5115 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2423, allocations: 3.938 kB / 0.5115 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2423, allocations: 4 kB / 0.5115 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.2426, allocations: 178 kB / 0.5117 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.2426, allocations: 85.09 kB / 0.5117 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.2427, allocations: 0 / 0.5117 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.2428, allocations: 8 kB / 0.5117 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.2428, allocations: 3.984 kB / 0.5117 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-06/0.2428, allocations: 4 kB / 0.5118 GB, free: 8.762 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.898e-05/0.2429, allocations: 99.27 kB / 0.5118 GB, free: 8.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2429, allocations: 0 / 0.5118 GB, free: 8.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.2432, allocations: 4 kB / 0.5119 GB, free: 8.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.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.0005887/0.2438, allocations: 0.7811 MB / 0.5126 GB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.244, allocations: 27.92 kB / 0.5126 GB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.244, allocations: 0 / 0.5126 GB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.2441, allocations: 12.25 kB / 0.5127 GB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.2444, allocations: 27.77 kB / 0.5127 GB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2456, allocations: 0.8845 MB / 0.5135 GB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2459, allocations: 0.6887 MB / 0.5142 GB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.508e-05/0.2459, allocations: 11.98 kB / 0.5142 GB, free: 6.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.246, allocations: 11.44 kB / 0.5142 GB, free: 6.094 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.246, allocations: 0 / 0.5142 GB, free: 6.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.2706, allocations: 1.228 MB / 0.5154 GB, free: 4.875 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/0.271, allocations: 201.4 kB / 0.5156 GB, free: 4.633 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.624, allocations: 0 / 0.5156 GB, free: 4.633 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat