Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample",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.001518/0.001518, allocations: 181.4 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.095/2.095, allocations: 205.2 MB / 219 MB, free: 9.199 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.001093/0.001093, allocations: 90.42 kB / 267.1 MB, free: 9.262 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.1081/0.1081, allocations: 12.59 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.219e-05, allocations: 4 kB / 386.1 MB, free: 69.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 50.38 MB / 436.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6018, allocations: 78.35 MB / 0.5028 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/0.6022, allocations: 78.41 kB / 0.5028 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008979/0.6113, allocations: 1.559 MB / 0.5044 GB, free: 11.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6113, allocations: 0 / 0.5044 GB, free: 11.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.6113, allocations: 3.844 kB / 0.5044 GB, free: 11.56 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005154/0.6119, allocations: 363.4 kB / 0.5047 GB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.612, allocations: 11.31 kB / 0.5047 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.597e-05/0.612, allocations: 37.27 kB / 0.5048 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.6121, allocations: 7.75 kB / 0.5048 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.6124, allocations: 200.7 kB / 0.505 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.6125, allocations: 11.64 kB / 0.505 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.6125, allocations: 0 / 0.505 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.613, allocations: 130.7 kB / 0.5051 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.613, allocations: 0 / 0.5051 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.6131, allocations: 7.781 kB / 0.5051 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.6131, allocations: 0 / 0.5051 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.6132, allocations: 22.34 kB / 0.5051 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.6138, allocations: 300 kB / 0.5054 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.614, allocations: 92.39 kB / 0.5055 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6141, allocations: 41.62 kB / 0.5055 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.6142, allocations: 3.844 kB / 0.5055 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6142, allocations: 34.5 kB / 0.5056 GB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.416e-06/0.6142, allocations: 4 kB / 0.5056 GB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003403/0.6146, allocations: 76.34 kB / 0.5056 GB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.6147, allocations: 132.3 kB / 0.5058 GB, free: 10.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.6149, allocations: 136.4 kB / 0.5059 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.6149, allocations: 29.64 kB / 0.5059 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.615, allocations: 94.61 kB / 0.506 GB, free: 9.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.6151, allocations: 4 kB / 0.506 GB, free: 9.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-06/0.6151, allocations: 0 / 0.506 GB, free: 9.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.6152, allocations: 327 kB / 0.5063 GB, free: 9.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.6153, allocations: 3.844 kB / 0.5063 GB, free: 9.629 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.6153, allocations: 43.31 kB / 0.5064 GB, free: 9.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.043e-05/0.6154, allocations: 17.83 kB / 0.5064 GB, free: 9.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6155, allocations: 0 / 0.5064 GB, free: 9.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002275/0.6157, allocations: 75.25 kB / 0.5065 GB, free: 9.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6157, allocations: 3.875 kB / 0.5065 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6158, allocations: 8.156 kB / 0.5065 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.6158, allocations: 3.844 kB / 0.5065 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.616, allocations: 15.44 kB / 0.5065 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6161, allocations: 2.953 kB / 0.5065 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.6162, allocations: 3.969 kB / 0.5065 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.6163, allocations: 7.969 kB / 0.5065 GB, free: 9.523 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.676e-05/0.6164, allocations: 120.2 kB / 0.5066 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.6166, allocations: 70.05 kB / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.6167, allocations: 13.88 kB / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.475e-06/0.6167, allocations: 3.844 kB / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6167, allocations: 0 / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.6167, allocations: 0 / 0.5067 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.617, allocations: 187.3 kB / 0.5069 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6171, allocations: 0 / 0.5069 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.6173, allocations: 18.19 kB / 0.5069 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6173, allocations: 3.984 kB / 0.5069 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.6173, allocations: 3.844 kB / 0.5069 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6173, allocations: 6.953 kB / 0.5069 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6174, allocations: 0 / 0.5069 GB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.6176, allocations: 223.1 kB / 0.5071 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.6178, allocations: 95.55 kB / 0.5072 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.6178, allocations: 7.375 kB / 0.5072 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.618, allocations: 6.984 kB / 0.5072 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.6181, allocations: 3.844 kB / 0.5072 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.6181, allocations: 3.938 kB / 0.5072 GB, free: 8.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.6183, allocations: 121.8 kB / 0.5074 GB, free: 8.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.6183, allocations: 0 / 0.5074 GB, free: 8.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.6188, allocations: 7.844 kB / 0.5074 GB, free: 8.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005656/0.6194, allocations: 0.9611 MB / 0.5083 GB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.6197, allocations: 33.94 kB / 0.5083 GB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6197, allocations: 0 / 0.5083 GB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.6197, allocations: 0 / 0.5083 GB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.6204, allocations: 40.89 kB / 0.5084 GB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.6212, allocations: 166.9 kB / 0.5085 GB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.6215, allocations: 0.6962 MB / 0.5092 GB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.6216, allocations: 7.516 kB / 0.5092 GB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.6217, allocations: 23.11 kB / 0.5092 GB, free: 6.949 MB / 330.7 MB Notification: Performance of SimCode: time 3.967e-06/0.6217, allocations: 0 / 0.5092 GB, free: 6.949 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.6469, allocations: 1.76 MB / 0.511 GB, free: 6.332 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003988/0.6474, allocations: 168.1 kB / 0.5111 GB, free: 6.113 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.997, allocations: 0 / 0.5111 GB, free: 6.113 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat