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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_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_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009027/0.0009029, allocations: 104.4 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001972/0.0001972, allocations: 12 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1736, allocations: 51.47 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08327/0.2569, allocations: 78.13 MB / 487.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.2571, allocations: 81.05 kB / 487.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009454/0.2666, allocations: 3.617 MB / 491.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2666, allocations: 0 / 491.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2666, allocations: 8 kB / 491.2 MB, free: 8.785 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.0004144/0.2671, allocations: 406.8 kB / 491.6 MB, free: 8.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2671, allocations: 8.031 kB / 491.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.2672, allocations: 31.73 kB / 491.7 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.2674, allocations: 197.1 kB / 491.9 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.2675, allocations: 11.95 kB / 491.9 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2675, allocations: 4 kB / 491.9 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.2679, allocations: 220.6 kB / 492.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2679, allocations: 0 / 492.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.268, allocations: 8 kB / 492.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.268, allocations: 4 kB / 492.1 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.2681, allocations: 55.95 kB / 492.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.2685, allocations: 302.4 kB / 492.5 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2687, allocations: 103.9 kB / 492.6 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2687, allocations: 0 / 492.6 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.2688, allocations: 38.53 kB / 492.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.81e-07/0.2688, allocations: 8.062 kB / 492.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000379/0.2691, allocations: 145.5 kB / 492.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.2692, allocations: 118.8 kB / 492.9 MB, free: 6.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2693, allocations: 133 kB / 493 MB, free: 6.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2694, allocations: 25.83 kB / 493 MB, free: 6.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2694, allocations: 92.14 kB / 493.1 MB, free: 6.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2694, allocations: 11.89 kB / 493.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.2694, allocations: 0 / 493.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2695, allocations: 326.8 kB / 493.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.2696, allocations: 19.98 kB / 493.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.2697, allocations: 101.2 kB / 493.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.189e-05/0.2698, allocations: 39.88 kB / 493.6 MB, free: 6.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2698, allocations: 0 / 493.6 MB, free: 6.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002124/0.27, allocations: 137.5 kB / 493.7 MB, free: 6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.27, allocations: 4 kB / 493.7 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.27, allocations: 4 kB / 493.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2701, allocations: 4 kB / 493.7 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2702, allocations: 27.98 kB / 493.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2702, allocations: 7.938 kB / 493.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.2703, allocations: 15.83 kB / 493.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2703, allocations: 4 kB / 493.8 MB, free: 5.934 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 9.64e-05/0.2704, allocations: 136.7 kB / 493.9 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.2706, allocations: 93.52 kB / 494 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.2706, allocations: 20.3 kB / 494 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2706, allocations: 0 / 494 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2706, allocations: 4 kB / 494.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2706, allocations: 0.625 kB / 494.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2708, allocations: 193.4 kB / 494.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2708, allocations: 0 / 494.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.2709, allocations: 23.98 kB / 494.3 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2709, allocations: 8 kB / 494.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.271, allocations: 0 / 494.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.271, allocations: 7.938 kB / 494.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.271, allocations: 0 / 494.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.2713, allocations: 260.5 kB / 494.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.2713, allocations: 96.94 kB / 494.6 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.2714, allocations: 4 kB / 494.6 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.2715, allocations: 7.984 kB / 494.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.2715, allocations: 0 / 494.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.2715, allocations: 8 kB / 494.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.2716, allocations: 115.2 kB / 494.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2716, allocations: 4 kB / 494.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.2718, allocations: 16 kB / 494.8 MB, free: 4.832 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 9.784e-05/0.272, allocations: 103.2 kB / 494.9 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.2722, allocations: 84.45 kB / 495 MB, free: 4.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2722, allocations: 0 / 495 MB, free: 4.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.2722, allocations: 16.05 kB / 495 MB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2725, allocations: 55.95 kB / 495 MB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.2729, allocations: 255.2 kB / 495.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2732, allocations: 0.7121 MB / 496 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.2732, allocations: 4.562 kB / 496 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.2733, allocations: 15.42 kB / 496 MB, free: 3.523 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2733, allocations: 4 kB / 496 MB, free: 3.52 MB / 362.7 MB Notification: Performance of Templates: time 0.002555/0.2758, allocations: 0.8351 MB / 496.9 MB, free: 2.703 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches