Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 199.3 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 245.3 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008456/0.0008456, allocations: 94.19 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002369, allocations: 4 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2116, allocations: 51.28 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08522/0.2969, allocations: 78.06 MB / 486.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.2971, allocations: 89.09 kB / 486.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00975/0.3069, allocations: 3.609 MB / 490.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3069, allocations: 0 / 490.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3069, allocations: 8 kB / 490.4 MB, free: 9.824 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.0004593/0.3074, allocations: 407 kB / 490.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3075, allocations: 8.031 kB / 490.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.3076, allocations: 24.83 kB / 490.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.3078, allocations: 202.3 kB / 491.1 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3079, allocations: 4.375 kB / 491.1 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3079, allocations: 8.375 kB / 491.1 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.3083, allocations: 226.1 kB / 491.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3083, allocations: 192 / 491.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3084, allocations: 3.938 kB / 491.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3084, allocations: 0 / 491.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3085, allocations: 59.95 kB / 491.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.3089, allocations: 294.6 kB / 491.6 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3091, allocations: 111.8 kB / 491.7 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3092, allocations: 54.62 kB / 491.8 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3092, allocations: 3.984 kB / 491.8 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3093, allocations: 42.56 kB / 491.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.113e-06/0.3093, allocations: 0 / 491.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004097/0.3097, allocations: 153.7 kB / 492 MB, free: 8.039 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.3098, allocations: 118.9 kB / 492.1 MB, free: 7.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3099, allocations: 145.9 kB / 492.3 MB, free: 7.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.3099, allocations: 25.7 kB / 492.3 MB, free: 7.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.31, allocations: 88.14 kB / 492.4 MB, free: 7.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.31, allocations: 11.89 kB / 492.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.31, allocations: 8 kB / 492.4 MB, free: 7.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.3101, allocations: 310.8 kB / 492.7 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.3102, allocations: 23.98 kB / 492.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.3103, allocations: 101.3 kB / 492.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3104, allocations: 117.3 kB / 492.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3104, allocations: 0 / 492.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002149/0.3106, allocations: 149.5 kB / 493.1 MB, free: 6.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3107, allocations: 6.656 kB / 493.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3107, allocations: 7.938 kB / 493.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3107, allocations: 4 kB / 493.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3108, allocations: 23.98 kB / 493.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.3108, allocations: 7.938 kB / 493.1 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.3109, allocations: 15.83 kB / 493.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3109, allocations: 12 kB / 493.1 MB, free: 6.762 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 8.833e-05/0.311, allocations: 129.8 kB / 493.3 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.3112, allocations: 93.52 kB / 493.4 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.3112, allocations: 20.3 kB / 493.4 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3112, allocations: 4 kB / 493.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3113, allocations: 0 / 493.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3113, allocations: 0 / 493.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.3114, allocations: 181.6 kB / 493.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3114, allocations: 4 kB / 493.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3116, allocations: 27.92 kB / 493.6 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3116, allocations: 0 / 493.6 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3116, allocations: 8 kB / 493.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3116, allocations: 0 / 493.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3116, allocations: 0 / 493.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.3119, allocations: 236.9 kB / 493.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.312, allocations: 100.9 kB / 493.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.312, allocations: 4 kB / 493.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.3121, allocations: 7.984 kB / 493.9 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.3121, allocations: 4 kB / 493.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3121, allocations: 8.125 kB / 494 MB, free: 5.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.157e-05/0.3122, allocations: 114.5 kB / 494.1 MB, free: 5.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3122, allocations: 3.938 kB / 494.1 MB, free: 5.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.3125, allocations: 16 kB / 494.1 MB, free: 5.711 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.0001184/0.3126, allocations: 103.2 kB / 494.2 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3128, allocations: 83.83 kB / 494.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3128, allocations: 0 / 494.3 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.3129, allocations: 12.67 kB / 494.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3133, allocations: 66.02 kB / 494.3 MB, free: 5.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.3137, allocations: 285 kB / 494.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.314, allocations: 0.7043 MB / 495.3 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.314, allocations: 27.36 kB / 495.4 MB, free: 4.359 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.314, allocations: 0 / 495.4 MB, free: 4.359 MB / 362.7 MB Notification: Performance of Templates: time 0.002241/0.3163, allocations: 1.163 MB / 496.5 MB, free: 3.203 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches