Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 107.6 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 47.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3776, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003178/0.3809, allocations: 1.619 MB / 402.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3819, allocations: 0.5531 MB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.3821, allocations: 3.938 kB / 402.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.653e-05/0.3822, allocations: 7.875 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.3824, allocations: 31.78 kB / 402.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.3827, allocations: 75.17 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3828, allocations: 75.75 kB / 403.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3829, allocations: 16.22 kB / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3831, allocations: 39.84 kB / 403.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.3832, allocations: 35.84 kB / 403.2 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3832, allocations: 4 kB / 403.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.3832, allocations: 4 kB / 403.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.3833, allocations: 27.91 kB / 403.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.3834, allocations: 39.75 kB / 403.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3835, allocations: 83.62 kB / 403.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3835, allocations: 0 / 403.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3836, allocations: 0 / 403.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3836, allocations: 0 / 403.3 MB, free: 6.238 MB / 318.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.0006731/0.3842, allocations: 408.2 kB / 403.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3843, allocations: 15.89 kB / 403.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.3843, allocations: 8.844 kB / 403.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.3846, allocations: 204.1 kB / 404 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.3846, allocations: 8.375 kB / 404 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.3846, allocations: 4.375 kB / 404 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.3852, allocations: 233.9 kB / 404.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3852, allocations: 0 / 404.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3852, allocations: 4 kB / 404.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3852, allocations: 4 kB / 404.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3854, allocations: 51.95 kB / 404.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3858, allocations: 286.4 kB / 404.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.386, allocations: 107.8 kB / 404.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3861, allocations: 50.75 kB / 404.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3861, allocations: 7.984 kB / 404.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3862, allocations: 34.55 kB / 404.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.3862, allocations: 4 kB / 404.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004186/0.3866, allocations: 145.4 kB / 404.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.3867, allocations: 110.8 kB / 405 MB, free: 4.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3869, allocations: 145.8 kB / 405.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3869, allocations: 29.7 kB / 405.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.387, allocations: 92.05 kB / 405.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.387, allocations: 11.89 kB / 405.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.387, allocations: 33.84 kB / 405.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3872, allocations: 318.8 kB / 405.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.3872, allocations: 23.92 kB / 405.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3874, allocations: 97.81 kB / 405.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3875, allocations: 117.2 kB / 405.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3875, allocations: 0 / 405.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002132/0.3878, allocations: 137.3 kB / 406 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3878, allocations: 4 kB / 406 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3878, allocations: 11.98 kB / 406 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3878, allocations: 4 kB / 406 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.388, allocations: 23.98 kB / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.388, allocations: 3.938 kB / 406 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.3881, allocations: 23.78 kB / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3881, allocations: 4.344 kB / 406 MB, free: 3.184 MB / 318.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.0001321/0.3883, allocations: 139.5 kB / 406.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3885, allocations: 97.52 kB / 406.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.3885, allocations: 16.31 kB / 406.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3885, allocations: 3.984 kB / 406.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3885, allocations: 0 / 406.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3886, allocations: 4 kB / 406.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.3888, allocations: 181.6 kB / 406.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3888, allocations: 0 / 406.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3889, allocations: 27.91 kB / 406.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3889, allocations: 4 kB / 406.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3889, allocations: 4 kB / 406.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3889, allocations: 0 / 406.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.389, allocations: 0 / 406.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3893, allocations: 232.9 kB / 406.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.3894, allocations: 104.9 kB / 406.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3894, allocations: 0 / 406.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.3895, allocations: 11.98 kB / 406.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3895, allocations: 4 kB / 406.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.3895, allocations: 0 / 406.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.193e-05/0.3896, allocations: 117.9 kB / 407 MB, free: 2.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3896, allocations: 0 / 407 MB, free: 2.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3899, allocations: 16 kB / 407 MB, free: 2.137 MB / 318.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.0001304/0.39, allocations: 103.2 kB / 407.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3903, allocations: 83.95 kB / 407.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3903, allocations: 0 / 407.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.3904, allocations: 8 kB / 407.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.3908, allocations: 71.81 kB / 407.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.3915, allocations: 254 kB / 407.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.3918, allocations: 0.7085 MB / 408.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.63e-05/0.3919, allocations: 4.562 kB / 408.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.3919, allocations: 19.42 kB / 408.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.392, allocations: 3.938 kB / 408.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of Templates: time 0.004018/0.396, allocations: 0.9588 MB / 409.2 MB, free: 15.87 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches