Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.001496/0.001503, allocations: 183.7 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.034/2.034, 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.00149/0.001489, allocations: 82.88 kB / 270.3 MB, free: 13.37 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.09717/0.09717, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005694, allocations: 12.97 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09476, allocations: 50.37 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.2375, allocations: 78.52 MB / 0.5088 GB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.2379, allocations: 79.95 kB / 0.5089 GB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.2527, allocations: 3.264 MB / 0.512 GB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2527, allocations: 0 / 0.512 GB, free: 8.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.2528, allocations: 0 / 0.512 GB, free: 8.863 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006391/0.2534, allocations: 406.8 kB / 0.5124 GB, free: 8.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2535, allocations: 8.031 kB / 0.5124 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.2535, allocations: 34.56 kB / 0.5125 GB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.2536, allocations: 15.81 kB / 0.5125 GB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.2539, allocations: 206.8 kB / 0.5127 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.2539, allocations: 8 kB / 0.5127 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.2539, allocations: 4 kB / 0.5127 GB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.2546, allocations: 225.6 kB / 0.5129 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2547, allocations: 3.984 kB / 0.5129 GB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2547, allocations: 4 kB / 0.5129 GB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2547, allocations: 0 / 0.5129 GB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.255, allocations: 51.91 kB / 0.513 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.2556, allocations: 306.5 kB / 0.5133 GB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.2559, allocations: 99.89 kB / 0.5134 GB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.2559, allocations: 7.984 kB / 0.5134 GB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.256, allocations: 38.62 kB / 0.5134 GB, free: 7.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.844e-06/0.256, allocations: 0 / 0.5134 GB, free: 7.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006583/0.2566, allocations: 153.4 kB / 0.5136 GB, free: 7.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.2568, allocations: 118.9 kB / 0.5137 GB, free: 6.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2569, allocations: 128.8 kB / 0.5138 GB, free: 6.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.257, allocations: 25.7 kB / 0.5138 GB, free: 6.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.257, allocations: 92.05 kB / 0.5139 GB, free: 6.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.2571, allocations: 19.83 kB / 0.5139 GB, free: 6.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.2571, allocations: 3.938 kB / 0.5139 GB, free: 6.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2572, allocations: 322.8 kB / 0.5142 GB, free: 6.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2574, allocations: 28 kB / 0.5143 GB, free: 6.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2575, allocations: 85.42 kB / 0.5143 GB, free: 6.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2577, allocations: 39.94 kB / 0.5144 GB, free: 6.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2577, allocations: 3.984 kB / 0.5144 GB, free: 6.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003547/0.258, allocations: 133.3 kB / 0.5145 GB, free: 6.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.2581, allocations: 10.95 kB / 0.5145 GB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2581, allocations: 4.5 kB / 0.5145 GB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2581, allocations: 4 kB / 0.5145 GB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2583, allocations: 24.33 kB / 0.5146 GB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2584, allocations: 15.88 kB / 0.5146 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2585, allocations: 12 kB / 0.5146 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2585, allocations: 8 kB / 0.5146 GB, free: 5.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001376/0.2586, allocations: 129.6 kB / 0.5147 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.259, allocations: 101.4 kB / 0.5148 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.259, allocations: 16.31 kB / 0.5148 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.259, allocations: 4 kB / 0.5148 GB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2591, allocations: 0 / 0.5148 GB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2591, allocations: 4 kB / 0.5148 GB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.2593, allocations: 193.5 kB / 0.515 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2594, allocations: 0 / 0.515 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.2596, allocations: 23.92 kB / 0.515 GB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2596, allocations: 0 / 0.515 GB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.2596, allocations: 7.984 kB / 0.515 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2596, allocations: 0 / 0.515 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2597, allocations: 0 / 0.515 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.2602, allocations: 256.5 kB / 0.5153 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2603, allocations: 96.98 kB / 0.5154 GB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.2603, allocations: 4 kB / 0.5154 GB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2605, allocations: 4 kB / 0.5154 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.2605, allocations: 8 kB / 0.5154 GB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.2606, allocations: 15.94 kB / 0.5154 GB, free: 4.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2607, allocations: 107.2 kB / 0.5155 GB, free: 4.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2607, allocations: 0 / 0.5155 GB, free: 4.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.2611, allocations: 16 kB / 0.5155 GB, free: 4.875 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001089/0.2622, allocations: 0.9719 MB / 0.5165 GB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.2625, allocations: 87.94 kB / 0.5166 GB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2625, allocations: 0 / 0.5166 GB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.2626, allocations: 11.94 kB / 0.5166 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.2631, allocations: 64.06 kB / 0.5166 GB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.2653, allocations: 2.172 MB / 0.5188 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.2657, allocations: 0.716 MB / 0.5195 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.704e-05/0.2658, allocations: 8.547 kB / 0.5195 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.295e-05/0.2659, allocations: 23.42 kB / 0.5195 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2659, allocations: 0 / 0.5195 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/0.5892, allocations: 1.974 MB / 0.5214 GB, free: 85.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.5896, allocations: 209.8 kB / 0.5216 GB, free: 85.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.021, allocations: 3.938 kB / 0.5216 GB, free: 85.51 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat