Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 202.6 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008854/0.0008854, allocations: 103.6 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.0002409, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1915, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0866/0.2782, allocations: 77.12 MB / 486.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.2784, allocations: 75.95 kB / 486.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002349/0.2808, allocations: 1.047 MB / 487.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2808, allocations: 3.438 kB / 487.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2808, allocations: 4 kB / 487.7 MB, free: 12.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003007/0.2812, allocations: 347.1 kB / 488 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2812, allocations: 12.03 kB / 488 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2812, allocations: 3.906 kB / 488 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.2814, allocations: 186 kB / 488.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2814, allocations: 4 kB / 488.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.2814, allocations: 3.625 kB / 488.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.2817, allocations: 96.91 kB / 488.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.2817, allocations: 0 / 488.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2817, allocations: 0 / 488.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2817, allocations: 0 / 488.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.2818, allocations: 14.06 kB / 488.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2821, allocations: 269.7 kB / 488.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.2822, allocations: 33.22 kB / 488.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.2822, allocations: 0 / 488.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2822, allocations: 42.56 kB / 488.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2822, allocations: 0 / 488.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001933/0.2824, allocations: 65.56 kB / 488.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2825, allocations: 77.11 kB / 488.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.2826, allocations: 117 kB / 488.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.2826, allocations: 25.7 kB / 488.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2826, allocations: 92.05 kB / 489 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.345e-06/0.2827, allocations: 0 / 489 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.2827, allocations: 8.188 kB / 489 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.2828, allocations: 318.8 kB / 489.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.2828, allocations: 4 kB / 489.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.2828, allocations: 13.72 kB / 489.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.2829, allocations: 11.98 kB / 489.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2829, allocations: 64 / 489.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.514e-05/0.283, allocations: 57.58 kB / 489.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.283, allocations: 8 kB / 489.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.283, allocations: 0 / 489.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.283, allocations: 3.984 kB / 489.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.649e-05/0.2831, allocations: 0 / 489.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2831, allocations: 0 / 489.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.2831, allocations: 4 kB / 489.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2831, allocations: 0 / 489.4 MB, free: 10.34 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: 2 (sample1.u,sample1.y) * 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 7.319e-05/0.2832, allocations: 119.5 kB / 489.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.2833, allocations: 49.48 kB / 489.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.2833, allocations: 11.53 kB / 489.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2833, allocations: 0 / 489.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2833, allocations: 0 / 489.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2833, allocations: 0 / 489.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.2835, allocations: 165.7 kB / 489.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2835, allocations: 0 / 489.8 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.2835, allocations: 4 kB / 489.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2835, allocations: 4.031 kB / 489.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2835, allocations: 7.953 kB / 489.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2835, allocations: 0 / 489.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2835, allocations: 0 / 489.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2837, allocations: 170 kB / 490 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.2837, allocations: 89.05 kB / 490 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2837, allocations: 4 kB / 490.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.2838, allocations: 0 / 490.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.2838, allocations: 7.984 kB / 490.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2838, allocations: 0 / 490.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.251e-05/0.2839, allocations: 99.27 kB / 490.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2839, allocations: 0 / 490.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.2841, allocations: 4 kB / 490.2 MB, free: 9.512 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: 2 (sample1.u,sample1.y) * 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 9.335e-05/0.2842, allocations: 110.1 kB / 490.3 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.2843, allocations: 23.92 kB / 490.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2843, allocations: 0 / 490.3 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.301e-05/0.2843, allocations: 4 kB / 490.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.2845, allocations: 18.08 kB / 490.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.2848, allocations: 149.8 kB / 490.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.285, allocations: 0.6887 MB / 491.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.133e-05/0.2851, allocations: 4 kB / 491.2 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.2851, allocations: 7.438 kB / 491.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2851, allocations: 0 / 491.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of Templates: time 0.001874/0.287, allocations: 389.8 kB / 491.5 MB, free: 8.082 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches