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.001408/0.001408, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001278/0.001278, allocations: 191 kB / 18.67 MB, free: 4.434 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.415/1.415, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2926, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002955/0.2956, allocations: 1.611 MB / 403 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2967, allocations: 0.557 MB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.2968, allocations: 3.938 kB / 403.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.2969, allocations: 7.922 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.2972, allocations: 31.8 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.2975, allocations: 71.78 kB / 403.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.2976, allocations: 71.78 kB / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2977, allocations: 16.22 kB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.2978, allocations: 35.84 kB / 403.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.2979, allocations: 31.84 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.2979, allocations: 8 kB / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.298, allocations: 8 kB / 403.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.298, allocations: 23.92 kB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.2981, allocations: 43.72 kB / 403.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.2983, allocations: 87.52 kB / 404 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2983, allocations: 4 kB / 404 MB, free: 6.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2983, allocations: 0 / 404 MB, free: 6.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2983, allocations: 0 / 404 MB, free: 6.266 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.0006046/0.2989, allocations: 396.2 kB / 404.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.299, allocations: 11.89 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.299, allocations: 20.83 kB / 404.4 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.2993, allocations: 208 kB / 404.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2993, allocations: 4.375 kB / 404.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.2993, allocations: 8.375 kB / 404.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.2998, allocations: 226 kB / 404.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2999, allocations: 3.938 kB / 404.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2999, allocations: 0 / 404.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2999, allocations: 7.984 kB / 404.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.3001, allocations: 59.89 kB / 404.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.3005, allocations: 290.5 kB / 405.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3007, allocations: 95.77 kB / 405.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3008, allocations: 58.75 kB / 405.4 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3008, allocations: 3.984 kB / 405.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3009, allocations: 38.5 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.3009, allocations: 0 / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004201/0.3013, allocations: 141.6 kB / 405.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.3014, allocations: 118.8 kB / 405.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3015, allocations: 141.8 kB / 405.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3016, allocations: 25.7 kB / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.3016, allocations: 96.03 kB / 405.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.3016, allocations: 11.91 kB / 405.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.3017, allocations: 29.7 kB / 406 MB, free: 4.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3018, allocations: 322.8 kB / 406.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.3019, allocations: 23.98 kB / 406.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.302, allocations: 87.42 kB / 406.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3022, allocations: 117.2 kB / 406.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3022, allocations: 4 kB / 406.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002312/0.3024, allocations: 133.6 kB / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3025, allocations: 8.031 kB / 406.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3025, allocations: 4 kB / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3025, allocations: 4 kB / 406.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3026, allocations: 23.92 kB / 406.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3026, allocations: 4 kB / 406.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.3027, allocations: 19.78 kB / 406.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3027, allocations: 11.98 kB / 406.7 MB, free: 3.223 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.0001105/0.3028, allocations: 129.7 kB / 406.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.303, allocations: 98.02 kB / 406.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.3031, allocations: 20.3 kB / 407 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3031, allocations: 4 kB / 407 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3031, allocations: 4.125 kB / 407 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3031, allocations: 0 / 407 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.3033, allocations: 185.6 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3033, allocations: 3.938 kB / 407.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3034, allocations: 23.98 kB / 407.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3035, allocations: 0 / 407.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3035, allocations: 4 kB / 407.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3035, allocations: 0 / 407.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3035, allocations: 4 kB / 407.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.3038, allocations: 240.8 kB / 407.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.3039, allocations: 96.94 kB / 407.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3039, allocations: 4 kB / 407.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.304, allocations: 7.984 kB / 407.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.304, allocations: 8 kB / 407.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3041, allocations: 4 kB / 407.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.117e-05/0.3041, allocations: 113.8 kB / 407.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3041, allocations: 0 / 407.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3044, allocations: 12 kB / 407.7 MB, free: 2.172 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.0001195/0.3045, allocations: 107.2 kB / 407.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.3048, allocations: 88.08 kB / 407.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3048, allocations: 0 / 407.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.3048, allocations: 4 kB / 407.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.3053, allocations: 63.88 kB / 407.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.306, allocations: 283.4 kB / 408.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3063, allocations: 0.7124 MB / 408.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.3064, allocations: 19.42 kB / 408.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3064, allocations: 0 / 408.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of Templates: time 0.002805/0.3092, allocations: 1.202 MB / 410.1 MB, free: 15.64 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/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