Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002254/0.002254, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008745/0.0008746, allocations: 92.91 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.000246, allocations: 4 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2593, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001784/0.2612, allocations: 1.316 MB / 413.4 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009936/0.2622, allocations: 0.7885 MB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.2623, allocations: 1.25 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/0.2624, allocations: 3.938 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.2626, allocations: 35.83 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.2629, allocations: 62.47 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2631, allocations: 71.78 kB / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2633, allocations: 16.22 kB / 414.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.2635, allocations: 35.89 kB / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.563e-05/0.2636, allocations: 34.69 kB / 414.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.2636, allocations: 4 kB / 414.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.2637, allocations: 4 kB / 414.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.2638, allocations: 15.92 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.2639, allocations: 61.44 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2641, allocations: 79.69 kB / 414.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2641, allocations: 0 / 414.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.058e-06/0.2642, allocations: 2.625 kB / 414.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2642, allocations: 3.938 kB / 414.6 MB, free: 23.3 MB / 298.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.0008282/0.265, allocations: 396.7 kB / 415 MB, free: 22.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.2651, allocations: 8.031 kB / 415 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.2653, allocations: 28.75 kB / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.2655, allocations: 196.2 kB / 415.2 MB, free: 22.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.2655, allocations: 12.28 kB / 415.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2656, allocations: 4.375 kB / 415.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.2661, allocations: 229.9 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2661, allocations: 0 / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2662, allocations: 0 / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2662, allocations: 0 / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2663, allocations: 55.91 kB / 415.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.2667, allocations: 294.6 kB / 415.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2669, allocations: 103.8 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2671, allocations: 58.73 kB / 415.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.2671, allocations: 3.984 kB / 415.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2671, allocations: 38.56 kB / 416 MB, free: 21.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2672, allocations: 4 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004512/0.2676, allocations: 157.3 kB / 416.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.2677, allocations: 110.8 kB / 416.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2678, allocations: 146.1 kB / 416.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.2679, allocations: 29.7 kB / 416.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.2679, allocations: 84.27 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.2679, allocations: 23.88 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.2679, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.268, allocations: 318.8 kB / 416.8 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.2681, allocations: 23.92 kB / 416.9 MB, free: 20.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.2681, allocations: 101.4 kB / 417 MB, free: 20.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.2683, allocations: 121.2 kB / 417.1 MB, free: 20.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2683, allocations: 0 / 417.1 MB, free: 20.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002025/0.2685, allocations: 141.3 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2685, allocations: 4.938 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2685, allocations: 7.984 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2685, allocations: 4.344 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2686, allocations: 27.98 kB / 417.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2687, allocations: 3.938 kB / 417.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.2687, allocations: 15.84 kB / 417.3 MB, free: 20.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.2687, allocations: 8 kB / 417.3 MB, free: 20.26 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.125e-05/0.2688, allocations: 134.4 kB / 417.4 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.269, allocations: 97.52 kB / 417.5 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.269, allocations: 16.3 kB / 417.5 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.269, allocations: 4 kB / 417.5 MB, free: 19.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.269, allocations: 4 kB / 417.5 MB, free: 19.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2691, allocations: 0 / 417.5 MB, free: 19.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.2692, allocations: 189.5 kB / 417.7 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2692, allocations: 0 / 417.7 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.2693, allocations: 28.55 kB / 417.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2693, allocations: 0 / 417.7 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2693, allocations: 4 kB / 417.8 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.2693, allocations: 4 kB / 417.8 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2693, allocations: 0 / 417.8 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2696, allocations: 237 kB / 418 MB, free: 19.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.2696, allocations: 96.94 kB / 418.1 MB, free: 19.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2697, allocations: 8 kB / 418.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.2697, allocations: 7.984 kB / 418.1 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.2698, allocations: 7.938 kB / 418.1 MB, free: 19.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2698, allocations: 8 kB / 418.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.2699, allocations: 107.2 kB / 418.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2699, allocations: 0 / 418.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002343/0.2701, allocations: 12 kB / 418.2 MB, free: 19.2 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.2703, allocations: 107.2 kB / 418.3 MB, free: 19.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2705, allocations: 87.95 kB / 418.4 MB, free: 19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2705, allocations: 0 / 418.4 MB, free: 19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.2706, allocations: 12 kB / 418.4 MB, free: 18.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.2711, allocations: 68.06 kB / 418.5 MB, free: 18.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.2717, allocations: 295.7 kB / 418.8 MB, free: 18.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2718, allocations: 0.7043 MB / 419.5 MB, free: 17.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.2719, allocations: 12.55 kB / 419.5 MB, free: 17.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2719, allocations: 15.38 kB / 419.5 MB, free: 17.84 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2719, allocations: 0 / 419.5 MB, free: 17.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002919/0.2748, allocations: 0.8768 MB / 420.4 MB, free: 16.97 MB / 298.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