Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 240.3 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008933, allocations: 97.02 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.000227, allocations: 11.94 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2109, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09019/0.3011, allocations: 77.08 MB / 478.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3014, allocations: 79.95 kB / 478.7 MB, free: 3.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005702/0.3071, allocations: 2.105 MB / 480.8 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3072, allocations: 4 kB / 480.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3072, allocations: 3.938 kB / 480.8 MB, free: 1.23 MB / 346.7 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.0003598/0.3075, allocations: 371.1 kB / 481.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3076, allocations: 12.03 kB / 481.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.3076, allocations: 11.86 kB / 481.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3078, allocations: 197.7 kB / 481.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3078, allocations: 7.984 kB / 481.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3079, allocations: 4 kB / 481.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3081, allocations: 108.9 kB / 481.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3081, allocations: 4 kB / 481.5 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3081, allocations: 7.953 kB / 481.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3082, allocations: 0 / 481.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.3082, allocations: 19.98 kB / 481.5 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.3086, allocations: 265.8 kB / 481.8 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.3087, allocations: 49.16 kB / 481.8 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3087, allocations: 0 / 481.8 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.3087, allocations: 38.5 kB / 481.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3087, allocations: 0 / 481.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002364/0.309, allocations: 73.59 kB / 481.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.309, allocations: 92.97 kB / 482 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3092, allocations: 125.3 kB / 482.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3092, allocations: 25.7 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.3092, allocations: 84.39 kB / 482.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.3093, allocations: 12 kB / 482.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.3093, allocations: 0 / 482.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3094, allocations: 310.8 kB / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.3095, allocations: 15.98 kB / 482.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.3095, allocations: 17.72 kB / 482.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.3095, allocations: 12.05 kB / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3096, allocations: 4 kB / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001155/0.3097, allocations: 65.53 kB / 482.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3097, allocations: 11.08 kB / 482.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3097, allocations: 0 / 482.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3097, allocations: 3.984 kB / 482.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.3098, allocations: 12.06 kB / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3098, allocations: 0 / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.3099, allocations: 5.312 kB / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.3099, allocations: 0 / 482.7 MB, free: 15.06 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.31, allocations: 117.8 kB / 482.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.31, allocations: 45.55 kB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.3101, allocations: 11.83 kB / 482.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3101, allocations: 3.984 kB / 482.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3101, allocations: 4.031 kB / 482.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3101, allocations: 0 / 482.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3103, allocations: 169.7 kB / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3103, allocations: 0 / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.3103, allocations: 4 kB / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3103, allocations: 3.938 kB / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3104, allocations: 0 / 483 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3104, allocations: 7.953 kB / 483.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3104, allocations: 0 / 483.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3106, allocations: 170.1 kB / 483.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.3106, allocations: 100.9 kB / 483.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3107, allocations: 3.953 kB / 483.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.3107, allocations: 4 kB / 483.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3108, allocations: 7.969 kB / 483.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3108, allocations: 3.984 kB / 483.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.3108, allocations: 106.2 kB / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3108, allocations: 0 / 483.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.3111, allocations: 4 kB / 483.4 MB, free: 14.2 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.567e-05/0.3111, allocations: 95.25 kB / 483.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3113, allocations: 35.97 kB / 483.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3113, allocations: 0 / 483.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.3113, allocations: 11.94 kB / 483.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3116, allocations: 20 kB / 483.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.3119, allocations: 181.9 kB / 483.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3121, allocations: 0.6887 MB / 484.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.828e-05/0.3122, allocations: 0 / 484.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.3122, allocations: 15.42 kB / 484.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3122, allocations: 0 / 484.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of Templates: time 0.002166/0.3144, allocations: 465.2 kB / 484.9 MB, free: 12.63 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches