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.00155/0.001556, allocations: 184.6 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.067/2.067, 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.001148/0.001148, allocations: 90.86 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.09706/0.09706, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.0005478, allocations: 13.25 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09207, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.2649, allocations: 78.44 MB / 0.5087 GB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.2653, allocations: 79.95 kB / 0.5088 GB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006626/0.2719, allocations: 1.558 MB / 0.5103 GB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.272, allocations: 3.938 kB / 0.5103 GB, free: 10.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.272, allocations: 4 kB / 0.5103 GB, free: 10.62 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005794/0.2726, allocations: 379 kB / 0.5107 GB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.2726, allocations: 8.031 kB / 0.5107 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.2727, allocations: 38.56 kB / 0.5107 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.2727, allocations: 11.81 kB / 0.5107 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.273, allocations: 198.9 kB / 0.5109 GB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.2731, allocations: 11.89 kB / 0.5109 GB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.2731, allocations: 4 kB / 0.5109 GB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.2735, allocations: 142.7 kB / 0.5111 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2735, allocations: 0 / 0.5111 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2736, allocations: 0 / 0.5111 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2736, allocations: 0 / 0.5111 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.2737, allocations: 31.92 kB / 0.5111 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.2743, allocations: 295.4 kB / 0.5114 GB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.2745, allocations: 102.4 kB / 0.5115 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.2745, allocations: 0 / 0.5115 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.2746, allocations: 44.12 kB / 0.5115 GB, free: 9.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.2746, allocations: 4 kB / 0.5115 GB, free: 9.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004521/0.275, allocations: 113.3 kB / 0.5116 GB, free: 9.035 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.2751, allocations: 137 kB / 0.5118 GB, free: 8.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.2753, allocations: 141.5 kB / 0.5119 GB, free: 8.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.2754, allocations: 29.7 kB / 0.5119 GB, free: 8.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.2754, allocations: 92.27 kB / 0.512 GB, free: 8.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.2755, allocations: 4 kB / 0.512 GB, free: 8.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.2755, allocations: 0 / 0.512 GB, free: 8.586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2757, allocations: 322.8 kB / 0.5123 GB, free: 8.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.2758, allocations: 11.98 kB / 0.5123 GB, free: 8.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.2759, allocations: 49.16 kB / 0.5124 GB, free: 8.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.847e-05/0.276, allocations: 23.94 kB / 0.5124 GB, free: 8.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.276, allocations: 4 kB / 0.5124 GB, free: 8.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002513/0.2763, allocations: 85.45 kB / 0.5125 GB, free: 8.066 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2763, allocations: 8 kB / 0.5125 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2763, allocations: 0 / 0.5125 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2763, allocations: 4 kB / 0.5125 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2765, allocations: 15.92 kB / 0.5125 GB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2765, allocations: 8.188 kB / 0.5125 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/0.2766, allocations: 8 kB / 0.5125 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2766, allocations: 4 kB / 0.5125 GB, free: 8.02 MB / 362.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 () * Number of clocked 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 0.0001232/0.2768, allocations: 125.6 kB / 0.5127 GB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.2769, allocations: 61.55 kB / 0.5127 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.277, allocations: 19.8 kB / 0.5127 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-06/0.277, allocations: 4 kB / 0.5127 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.277, allocations: 4.094 kB / 0.5128 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.277, allocations: 0 / 0.5128 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.2773, allocations: 181.5 kB / 0.5129 GB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2773, allocations: 3.953 kB / 0.5129 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.2774, allocations: 19.92 kB / 0.5129 GB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2775, allocations: 0 / 0.5129 GB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2775, allocations: 4 kB / 0.513 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2775, allocations: 4 kB / 0.513 GB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2775, allocations: 0 / 0.513 GB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.2779, allocations: 235.1 kB / 0.5132 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.278, allocations: 100.9 kB / 0.5133 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.278, allocations: 4 kB / 0.5133 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2781, allocations: 7.984 kB / 0.5133 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.2782, allocations: 0 / 0.5133 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2782, allocations: 4.188 kB / 0.5133 GB, free: 7.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.2784, allocations: 119.1 kB / 0.5134 GB, free: 7.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2784, allocations: 0 / 0.5134 GB, free: 7.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.2787, allocations: 7.953 kB / 0.5134 GB, free: 7.004 MB / 362.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 () * Number of clocked 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.0007869/0.2795, allocations: 0.977 MB / 0.5144 GB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.2798, allocations: 47.91 kB / 0.5144 GB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2798, allocations: 3.938 kB / 0.5144 GB, free: 5.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.2799, allocations: 8.375 kB / 0.5144 GB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.2803, allocations: 51.77 kB / 0.5145 GB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.282, allocations: 1.337 MB / 0.5158 GB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2824, allocations: 0.7004 MB / 0.5165 GB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.2824, allocations: 12.66 kB / 0.5165 GB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.2825, allocations: 15.44 kB / 0.5165 GB, free: 3.703 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2825, allocations: 0 / 0.5165 GB, free: 3.703 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.304, allocations: 1.757 MB / 0.5182 GB, free: 1.957 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000341/0.3044, allocations: 201.4 kB / 0.5184 GB, free: 1.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.659, allocations: 0 / 0.5184 GB, free: 1.715 MB / 362.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