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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.681/1.681, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3886, allocations: 50.53 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003047/0.3917, allocations: 1.62 MB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3929, allocations: 0.6232 MB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3931, allocations: 7.938 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.268e-05/0.3932, allocations: 3.938 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3935, allocations: 31.78 kB / 411.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3938, allocations: 83.78 kB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.394, allocations: 71.78 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3941, allocations: 15.98 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3942, allocations: 39.84 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.3943, allocations: 35.78 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3944, allocations: 4 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.3944, allocations: 12 kB / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.3945, allocations: 23.91 kB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.3946, allocations: 43.67 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3948, allocations: 87.7 kB / 411.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3948, allocations: 0 / 411.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3948, allocations: 0 / 411.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3948, allocations: 0 / 411.9 MB, free: 14.86 MB / 334.1 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.000661/0.3955, allocations: 416 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3956, allocations: 8.031 kB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.3958, allocations: 20.83 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.3961, allocations: 216.2 kB / 412.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.3962, allocations: 8.375 kB / 412.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3962, allocations: 8.125 kB / 412.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.3967, allocations: 228.4 kB / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3968, allocations: 0 / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.3968, allocations: 0 / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.3968, allocations: 0 / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.397, allocations: 51.95 kB / 412.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.3974, allocations: 298.5 kB / 413.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3976, allocations: 99.75 kB / 413.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3977, allocations: 58.75 kB / 413.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.3977, allocations: 3.984 kB / 413.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3978, allocations: 30.56 kB / 413.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3978, allocations: 7.938 kB / 413.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004415/0.3982, allocations: 149.3 kB / 413.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3983, allocations: 114.9 kB / 413.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3985, allocations: 145.8 kB / 413.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3986, allocations: 29.7 kB / 413.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.3986, allocations: 96.12 kB / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3987, allocations: 7.906 kB / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.3987, allocations: 33.61 kB / 413.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3989, allocations: 322.8 kB / 414.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.3989, allocations: 19.98 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.399, allocations: 93.36 kB / 414.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3992, allocations: 113.3 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3992, allocations: 4 kB / 414.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002287/0.3995, allocations: 133.3 kB / 414.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3995, allocations: 4.344 kB / 414.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3995, allocations: 8 kB / 414.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3995, allocations: 4 kB / 414.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3997, allocations: 19.98 kB / 414.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3997, allocations: 7.938 kB / 414.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.3998, allocations: 19.86 kB / 414.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3998, allocations: 11.94 kB / 414.7 MB, free: 11.78 MB / 334.1 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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,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 0.0001088/0.3999, allocations: 125.8 kB / 414.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4001, allocations: 98.02 kB / 414.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.4002, allocations: 16.3 kB / 414.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4002, allocations: 8.125 kB / 414.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4002, allocations: 4 kB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4002, allocations: 3.938 kB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.4004, allocations: 197.5 kB / 415.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4004, allocations: 0 / 415.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4005, allocations: 23.92 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4005, allocations: 0 / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4005, allocations: 4 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4006, allocations: 0 / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4006, allocations: 0 / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.4009, allocations: 233 kB / 415.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.401, allocations: 100.9 kB / 415.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.401, allocations: 0 / 415.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.4011, allocations: 11.98 kB / 415.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.4011, allocations: 4 kB / 415.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.4011, allocations: 11.88 kB / 415.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.065e-05/0.4012, allocations: 114.6 kB / 415.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4012, allocations: 0 / 415.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4015, allocations: 16 kB / 415.6 MB, free: 10.72 MB / 334.1 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.0001419/0.4017, allocations: 110.7 kB / 415.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.4019, allocations: 76.45 kB / 415.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4019, allocations: 4.062 kB / 415.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.402, allocations: 11.98 kB / 415.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.4025, allocations: 59.95 kB / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.4031, allocations: 253.2 kB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.4035, allocations: 0.708 MB / 416.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.4035, allocations: 16.47 kB / 416.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.4035, allocations: 11.44 kB / 416.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4036, allocations: 0 / 416.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of Templates: time 0.0038/0.4074, allocations: 0.9749 MB / 417.8 MB, free: 8.453 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches