Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 109.9 kB / 17.74 MB, free: 5.23 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.001785/0.001786, allocations: 185.5 kB / 18.66 MB, free: 4.312 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.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3003, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002913/0.3033, allocations: 1.553 MB / 402.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3044, allocations: 478.7 kB / 403.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3045, allocations: 4 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.364e-05/0.3046, allocations: 7.875 kB / 403.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.3048, allocations: 11.91 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3051, allocations: 47.83 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3053, allocations: 43.86 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3054, allocations: 15.98 kB / 403.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.3055, allocations: 27.84 kB / 403.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.3056, allocations: 19.88 kB / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3056, allocations: 4 kB / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.3056, allocations: 0 / 403.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.3057, allocations: 11.98 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.3057, allocations: 27.8 kB / 403.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.3059, allocations: 55.75 kB / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3059, allocations: 0 / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3059, allocations: 0 / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3059, allocations: 0 / 403.7 MB, free: 6.582 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00052/0.3064, allocations: 376.3 kB / 404 MB, free: 6.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3065, allocations: 8.031 kB / 404.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3065, allocations: 8.844 kB / 404.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.3068, allocations: 207.9 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3068, allocations: 4.375 kB / 404.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3068, allocations: 384 / 404.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3071, allocations: 117.3 kB / 404.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3071, allocations: 0 / 404.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3071, allocations: 0 / 404.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.3071, allocations: 4 kB / 404.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.3072, allocations: 15.92 kB / 404.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.3076, allocations: 265.7 kB / 404.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3077, allocations: 45.2 kB / 404.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.3078, allocations: 25.7 kB / 404.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.3078, allocations: 7.984 kB / 404.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3078, allocations: 34.56 kB / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3078, allocations: 0 / 404.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002535/0.3081, allocations: 65.52 kB / 404.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.3082, allocations: 81.11 kB / 404.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3083, allocations: 138.4 kB / 405.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3084, allocations: 29.7 kB / 405.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.3084, allocations: 92.12 kB / 405.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.3084, allocations: 3.906 kB / 405.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3085, allocations: 13.72 kB / 405.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3086, allocations: 314.8 kB / 405.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.3086, allocations: 7.984 kB / 405.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.3087, allocations: 21.72 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.3088, allocations: 37.64 kB / 405.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3088, allocations: 4 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000112/0.3089, allocations: 53.67 kB / 405.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3089, allocations: 7.938 kB / 405.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3089, allocations: 0 / 405.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.309, allocations: 4.062 kB / 405.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.309, allocations: 7.938 kB / 405.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3091, allocations: 8 kB / 405.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.3091, allocations: 3.984 kB / 405.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.3091, allocations: 4 kB / 405.7 MB, free: 4.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.943e-05/0.3092, allocations: 113.8 kB / 405.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.3093, allocations: 37.61 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.3093, allocations: 11.86 kB / 405.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3093, allocations: 4.031 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3093, allocations: 4 kB / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3093, allocations: 0 / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3095, allocations: 173.5 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3095, allocations: 0 / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.3096, allocations: 7.938 kB / 406 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3096, allocations: 7.984 kB / 406 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.3096, allocations: 0 / 406 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3096, allocations: 0 / 406 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3096, allocations: 0 / 406 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.3098, allocations: 164.2 kB / 406.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.3099, allocations: 93 kB / 406.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.3099, allocations: 3.938 kB / 406.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.3099, allocations: 7.984 kB / 406.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.31, allocations: 0 / 406.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.31, allocations: 0 / 406.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.3101, allocations: 118 kB / 406.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3101, allocations: 0 / 406.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.3103, allocations: 4 kB / 406.4 MB, free: 3.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001055/0.3104, allocations: 103.9 kB / 406.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.3106, allocations: 19.98 kB / 406.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3106, allocations: 0 / 406.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.3106, allocations: 8.125 kB / 406.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.311, allocations: 27.95 kB / 406.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3113, allocations: 181.3 kB / 406.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3116, allocations: 0.6961 MB / 407.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.3117, allocations: 7.438 kB / 407.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of SimCode: time 2.434e-06/0.3117, allocations: 0 / 407.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Templates: time 0.002058/0.3138, allocations: 0.7342 MB / 408.2 MB, free: 1.668 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches