Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",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.002479/0.002478, allocations: 183.6 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.035/2.035, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001173/0.001173, allocations: 98.78 kB / 270.3 MB, free: 13.34 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.09755/0.09755, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005305, allocations: 13.81 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.2516, allocations: 78.35 MB / 0.5086 GB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.2519, allocations: 79.95 kB / 0.5087 GB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008578/0.2605, allocations: 2.003 MB / 0.5107 GB, free: 10.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2606, allocations: 0 / 0.5107 GB, free: 10.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.2606, allocations: 4 kB / 0.5107 GB, free: 10.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005804/0.2612, allocations: 378.9 kB / 0.511 GB, free: 9.855 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.2613, allocations: 12.03 kB / 0.511 GB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.2614, allocations: 34.55 kB / 0.5111 GB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.2614, allocations: 7.906 kB / 0.5111 GB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.2617, allocations: 206.8 kB / 0.5113 GB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2617, allocations: 0 / 0.5113 GB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.2617, allocations: 4 kB / 0.5113 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.2621, allocations: 109.9 kB / 0.5114 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2621, allocations: 4 kB / 0.5114 GB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2621, allocations: 4 kB / 0.5114 GB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2621, allocations: 0 / 0.5114 GB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.2623, allocations: 27.92 kB / 0.5114 GB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.2628, allocations: 286.6 kB / 0.5117 GB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.263, allocations: 69.34 kB / 0.5118 GB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.263, allocations: 0 / 0.5118 GB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.2631, allocations: 46.55 kB / 0.5118 GB, free: 8.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.2631, allocations: 0 / 0.5118 GB, free: 8.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003946/0.2635, allocations: 89.52 kB / 0.5119 GB, free: 8.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.2636, allocations: 103.2 kB / 0.512 GB, free: 8.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2637, allocations: 136.8 kB / 0.5121 GB, free: 8.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2638, allocations: 29.64 kB / 0.5121 GB, free: 8.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.2638, allocations: 92.05 kB / 0.5122 GB, free: 8.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.2639, allocations: 7.922 kB / 0.5122 GB, free: 8.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.2639, allocations: 0 / 0.5122 GB, free: 8.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.264, allocations: 318.8 kB / 0.5125 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.2641, allocations: 11.98 kB / 0.5125 GB, free: 8.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.2642, allocations: 39.44 kB / 0.5126 GB, free: 8.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.2643, allocations: 15.98 kB / 0.5126 GB, free: 8.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2643, allocations: 0 / 0.5126 GB, free: 8.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002272/0.2646, allocations: 77.52 kB / 0.5127 GB, free: 7.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2646, allocations: 4 kB / 0.5127 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2646, allocations: 3.938 kB / 0.5127 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2646, allocations: 4 kB / 0.5127 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2648, allocations: 8 kB / 0.5127 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2648, allocations: 0 / 0.5127 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.2649, allocations: 11.98 kB / 0.5127 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.2649, allocations: 8.125 kB / 0.5127 GB, free: 7.883 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: 0 () * 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.0001268/0.265, allocations: 125.5 kB / 0.5128 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2652, allocations: 53.53 kB / 0.5129 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.2652, allocations: 15.81 kB / 0.5129 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2652, allocations: 4 kB / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2653, allocations: 0 / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2653, allocations: 0 / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.2655, allocations: 177.6 kB / 0.5131 GB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2655, allocations: 4.062 kB / 0.5131 GB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.2656, allocations: 8.094 kB / 0.5131 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.2657, allocations: 3.984 kB / 0.5131 GB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2657, allocations: 4 kB / 0.5131 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2657, allocations: 3.984 kB / 0.5131 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2657, allocations: 0 / 0.5131 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.266, allocations: 208.5 kB / 0.5133 GB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.2661, allocations: 97 kB / 0.5134 GB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2662, allocations: 0 / 0.5134 GB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2663, allocations: 4 kB / 0.5134 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2663, allocations: 0 / 0.5134 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2663, allocations: 11.95 kB / 0.5134 GB, free: 7.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2665, allocations: 107.2 kB / 0.5135 GB, free: 6.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2665, allocations: 0 / 0.5135 GB, free: 6.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.2668, allocations: 4 kB / 0.5135 GB, free: 6.949 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0006858/0.2675, allocations: 0.8744 MB / 0.5144 GB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2677, allocations: 35.91 kB / 0.5144 GB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.2677, allocations: 4.25 kB / 0.5144 GB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.2678, allocations: 8 kB / 0.5144 GB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2682, allocations: 31.77 kB / 0.5144 GB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2696, allocations: 0.9795 MB / 0.5154 GB, free: 4.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.27, allocations: 0.7005 MB / 0.5161 GB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.2701, allocations: 192 / 0.5161 GB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.2701, allocations: 19.42 kB / 0.5161 GB, free: 4.164 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/0.2702, allocations: 0 / 0.5161 GB, free: 4.164 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.2911, allocations: 1.433 MB / 0.5175 GB, free: 2.742 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/0.2915, allocations: 198.5 kB / 0.5177 GB, free: 2.504 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.586, allocations: 4 kB / 0.5177 GB, free: 2.5 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat