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.001548/0.001548, allocations: 196.9 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009907/0.0009909, allocations: 87.62 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.617e-05, allocations: 4 kB / 350.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 51.47 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4575, allocations: 78.06 MB / 480.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.4578, allocations: 74.2 kB / 480.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009063/0.4669, allocations: 3.62 MB / 483.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4669, allocations: 0 / 483.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4669, allocations: 1.5 kB / 483.9 MB, free: 8.434 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.0003616/0.4673, allocations: 398.4 kB / 484.3 MB, free: 8.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4673, allocations: 8.031 kB / 484.3 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.4674, allocations: 37.62 kB / 484.3 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.4675, allocations: 24.67 kB / 484.3 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4677, allocations: 197.9 kB / 484.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4677, allocations: 7.609 kB / 484.5 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.4677, allocations: 10.5 kB / 484.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.468, allocations: 194.3 kB / 484.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4681, allocations: 5.438 kB / 484.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4681, allocations: 4 kB / 484.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4681, allocations: 0.6562 kB / 484.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.4682, allocations: 34.42 kB / 484.8 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.4685, allocations: 304.2 kB / 485.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.4686, allocations: 84.61 kB / 485.2 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.4686, allocations: 54.3 kB / 485.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.4687, allocations: 10.23 kB / 485.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4687, allocations: 34.56 kB / 485.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4687, allocations: 0 / 485.3 MB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002025/0.4689, allocations: 102.1 kB / 485.4 MB, free: 6.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.469, allocations: 109.9 kB / 485.5 MB, free: 6.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.4691, allocations: 137.6 kB / 485.6 MB, free: 6.621 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4691, allocations: 25.7 kB / 485.6 MB, free: 6.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.4691, allocations: 91.08 kB / 485.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.4691, allocations: 7.719 kB / 485.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.4691, allocations: 8.031 kB / 485.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.4692, allocations: 322.6 kB / 486 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.4692, allocations: 19.56 kB / 486.1 MB, free: 6.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.844e-05/0.4693, allocations: 84.67 kB / 486.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.4693, allocations: 34.36 kB / 486.2 MB, free: 6.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4693, allocations: 4 kB / 486.2 MB, free: 6.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001364/0.4695, allocations: 116.6 kB / 486.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4695, allocations: 8 kB / 486.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4695, allocations: 0 / 486.3 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4695, allocations: 4 kB / 486.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4696, allocations: 35.64 kB / 486.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4697, allocations: 5.484 kB / 486.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.4697, allocations: 8 kB / 486.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4697, allocations: 4 kB / 486.4 MB, free: 5.855 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.394e-05/0.4698, allocations: 124.7 kB / 486.5 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4699, allocations: 92.7 kB / 486.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.47, allocations: 15.59 kB / 486.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.47, allocations: 4 kB / 486.6 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.47, allocations: 3.984 kB / 486.6 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.47, allocations: 4 kB / 486.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.4701, allocations: 184.7 kB / 486.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4701, allocations: 1.25 kB / 486.8 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.4703, allocations: 19.98 kB / 486.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4703, allocations: 3.984 kB / 486.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.4703, allocations: 4 kB / 486.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4703, allocations: 0 / 486.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4703, allocations: 0 / 486.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.4705, allocations: 243 kB / 487 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.4705, allocations: 102.3 kB / 487.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.4705, allocations: 3.75 kB / 487.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.4706, allocations: 4 kB / 487.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.4707, allocations: 4 kB / 487.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.4707, allocations: 11.55 kB / 487.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.4707, allocations: 111.4 kB / 487.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4708, allocations: 0 / 487.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.471, allocations: 15.56 kB / 487.3 MB, free: 4.898 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.0003995/0.4714, allocations: 0.9559 MB / 488.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.4715, allocations: 62.73 kB / 488.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4715, allocations: 0 / 488.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.415e-05/0.4716, allocations: 4.688 kB / 488.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4718, allocations: 60.94 kB / 488.4 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.4723, allocations: 185.3 kB / 488.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4724, allocations: 0.7121 MB / 489.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.496e-05/0.4724, allocations: 4.562 kB / 489.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.4725, allocations: 30.11 kB / 489.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4725, allocations: 0 / 489.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.4842, allocations: 1.943 MB / 491.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/0.4843, allocations: 175.9 kB / 491.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.969, allocations: 0 / 491.4 MB, free: 0.9492 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