Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008951/0.0008951, allocations: 97.91 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.904e-05, allocations: 8 kB / 343.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 51.47 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.5003, allocations: 77.39 MB / 472.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.5006, allocations: 79.38 kB / 472.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009693/0.5103, allocations: 3.584 MB / 476.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5103, allocations: 4 kB / 476.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.5104, allocations: 0 / 476.3 MB, free: 11.83 MB / 346.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.0003889/0.5108, allocations: 383.6 kB / 476.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5108, allocations: 11.97 kB / 476.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.5109, allocations: 26.86 kB / 476.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.5111, allocations: 207.5 kB / 476.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.5112, allocations: 4 kB / 476.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.5112, allocations: 7.609 kB / 477 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.983e-05/0.5113, allocations: 38.62 kB / 477 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.5116, allocations: 184 kB / 477.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5116, allocations: 0 / 477.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5117, allocations: 1.125 kB / 477.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5117, allocations: 0 / 477.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.512, allocations: 281 kB / 477.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/0.5121, allocations: 83.31 kB / 477.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.5122, allocations: 39.12 kB / 477.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.5122, allocations: 7.875 kB / 477.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5122, allocations: 39.92 kB / 477.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.5122, allocations: 0 / 477.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002049/0.5124, allocations: 90.19 kB / 477.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5125, allocations: 112.1 kB / 477.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.5126, allocations: 126.1 kB / 477.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.5126, allocations: 25.7 kB / 478 MB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.5126, allocations: 97.31 kB / 478.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.5127, allocations: 9.047 kB / 478.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5127, allocations: 0 / 478.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.5127, allocations: 326.4 kB / 478.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.5128, allocations: 11.75 kB / 478.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.5128, allocations: 78.23 kB / 478.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.5129, allocations: 29.33 kB / 478.5 MB, free: 9.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5129, allocations: 10.72 kB / 478.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001333/0.513, allocations: 103.9 kB / 478.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.513, allocations: 4 kB / 478.6 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5131, allocations: 4 kB / 478.6 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5131, allocations: 4 kB / 478.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5132, allocations: 32.16 kB / 478.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5132, allocations: 9.391 kB / 478.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.5133, allocations: 4 kB / 478.7 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.5133, allocations: 8 kB / 478.7 MB, free: 9.48 MB / 346.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 () * 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 5.887e-05/0.5134, allocations: 113.5 kB / 478.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001352/0.5135, allocations: 97.84 kB / 478.9 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.5135, allocations: 11.91 kB / 478.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.5136, allocations: 17.14 kB / 478.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5136, allocations: 5.484 kB / 478.9 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5136, allocations: 0 / 478.9 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5136, allocations: 4 kB / 478.9 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.5137, allocations: 155.3 kB / 479.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5137, allocations: 4 kB / 479.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.5139, allocations: 24.48 kB / 479.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5139, allocations: 0 / 479.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5139, allocations: 5.266 kB / 479.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5139, allocations: 0 / 479.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5139, allocations: 0 / 479.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.5141, allocations: 231.3 kB / 479.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.5141, allocations: 97.47 kB / 479.4 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.5141, allocations: 9.203 kB / 479.4 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.5142, allocations: 6.562 kB / 479.4 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.5143, allocations: 4 kB / 479.4 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.5143, allocations: 5.406 kB / 479.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.227e-05/0.5143, allocations: 113.9 kB / 479.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5144, allocations: 0 / 479.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.5146, allocations: 16 kB / 479.6 MB, free: 8.602 MB / 346.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 () * 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.0004173/0.515, allocations: 0.9384 MB / 480.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.5152, allocations: 54.86 kB / 480.6 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5152, allocations: 1.781 kB / 480.6 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.5152, allocations: 7.312 kB / 480.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.5155, allocations: 52.53 kB / 480.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.516, allocations: 176.4 kB / 480.8 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.5161, allocations: 0.7108 MB / 481.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.5162, allocations: 15.59 kB / 481.5 MB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.5162, allocations: 25.55 kB / 481.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5163, allocations: 0 / 481.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.5365, allocations: 1.589 MB / 483.1 MB, free: 5.602 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.5367, allocations: 174.6 kB / 483.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.064, allocations: 0 / 483.3 MB, free: 5.41 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat