Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008375/0.0008375, allocations: 87.83 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.091e-05, allocations: 0 / 343.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.08935, allocations: 50.41 MB / 394.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/0.3784, allocations: 77.25 MB / 471.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.3787, allocations: 75.95 kB / 471.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009992/0.3887, allocations: 3.511 MB / 475.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3887, allocations: 0 / 475.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3888, allocations: 4 kB / 475.2 MB, free: 6.668 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.0004211/0.3892, allocations: 387 kB / 475.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3892, allocations: 8.031 kB / 475.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.3893, allocations: 46.5 kB / 475.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.3893, allocations: 19.81 kB / 475.6 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3895, allocations: 190.9 kB / 475.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3896, allocations: 7.938 kB / 475.8 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3896, allocations: 15.94 kB / 475.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.39, allocations: 204.4 kB / 476 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.39, allocations: 3.953 kB / 476 MB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.39, allocations: 4 kB / 476 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.39, allocations: 0 / 476 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.3901, allocations: 39.91 kB / 476.1 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.3905, allocations: 298.5 kB / 476.4 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3906, allocations: 83.92 kB / 476.5 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.3907, allocations: 50.58 kB / 476.5 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3907, allocations: 4 kB / 476.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3907, allocations: 38.5 kB / 476.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3907, allocations: 0 / 476.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002402/0.391, allocations: 97.52 kB / 476.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.3911, allocations: 114.8 kB / 476.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3912, allocations: 128.2 kB / 476.9 MB, free: 4.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3912, allocations: 25.7 kB / 476.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.3912, allocations: 100 kB / 477 MB, free: 4.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3912, allocations: 7.906 kB / 477 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.3913, allocations: 8 kB / 477 MB, free: 4.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.3913, allocations: 318.8 kB / 477.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.3914, allocations: 16 kB / 477.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.3915, allocations: 89.38 kB / 477.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.3915, allocations: 20 kB / 477.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3915, allocations: 0 / 477.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001737/0.3917, allocations: 133.3 kB / 477.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3917, allocations: 11.94 kB / 477.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3917, allocations: 0 / 477.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3917, allocations: 4 kB / 477.6 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3919, allocations: 23.98 kB / 477.6 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3919, allocations: 8.562 kB / 477.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.392, allocations: 16.28 kB / 477.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.392, allocations: 8 kB / 477.7 MB, free: 3.883 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 6.971e-05/0.392, allocations: 109.7 kB / 477.8 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.3922, allocations: 93.47 kB / 477.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.3922, allocations: 12.09 kB / 477.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3922, allocations: 4 kB / 477.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3923, allocations: 256 / 477.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3923, allocations: 0 / 477.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.3924, allocations: 193.5 kB / 478.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3925, allocations: 0 / 478.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3926, allocations: 27.92 kB / 478.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3926, allocations: 7.891 kB / 478.1 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3926, allocations: 11.98 kB / 478.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3926, allocations: 0 / 478.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3926, allocations: 0 / 478.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3928, allocations: 234.6 kB / 478.3 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.3929, allocations: 100.9 kB / 478.4 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.393, allocations: 4 kB / 478.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.3931, allocations: 7.984 kB / 478.4 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.3931, allocations: 7.938 kB / 478.4 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3931, allocations: 0 / 478.4 MB, free: 2.977 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.536e-05/0.3932, allocations: 109.5 kB / 478.6 MB, free: 2.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3932, allocations: 0 / 478.6 MB, free: 2.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.3934, allocations: 20 kB / 478.6 MB, free: 2.852 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.0005691/0.394, allocations: 0.9485 MB / 479.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3942, allocations: 67.97 kB / 479.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3942, allocations: 3.938 kB / 479.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.3942, allocations: 4 kB / 479.6 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3945, allocations: 47.97 kB / 479.6 MB, free: 1.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.395, allocations: 189.6 kB / 479.8 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3952, allocations: 0.7082 MB / 480.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.654e-05/0.3953, allocations: 12.5 kB / 480.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.3953, allocations: 31.42 kB / 480.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3954, allocations: 0 / 480.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.4079, allocations: 1.942 MB / 482.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.4081, allocations: 179 kB / 482.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.893, allocations: 0 / 482.7 MB, free: 14.71 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat