Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.464/1.464, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.001157/0.001157, allocations: 90.64 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.000276, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2825, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.383, allocations: 76.52 MB / 478 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.3834, allocations: 75.95 kB / 478.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003283/0.3867, allocations: 1.165 MB / 479.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3867, allocations: 3.5 kB / 479.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3867, allocations: 4 kB / 479.3 MB, free: 2.707 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004672/0.3872, allocations: 355.1 kB / 479.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.3873, allocations: 12.03 kB / 479.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3873, allocations: 15.8 kB / 479.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3876, allocations: 183 kB / 479.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3876, allocations: 0 / 479.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3876, allocations: 5.875 kB / 479.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.388, allocations: 113.6 kB / 479.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.388, allocations: 0 / 479.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.388, allocations: 0 / 479.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.388, allocations: 7.938 kB / 479.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.3881, allocations: 23.94 kB / 480 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3885, allocations: 273.8 kB / 480.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3888, allocations: 134.3 kB / 480.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3888, allocations: 7.938 kB / 480.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3888, allocations: 38.56 kB / 480.4 MB, free: 1.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3889, allocations: 4 kB / 480.4 MB, free: 1.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002572/0.3891, allocations: 85.47 kB / 480.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3892, allocations: 77.11 kB / 480.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3893, allocations: 130.6 kB / 480.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3894, allocations: 29.7 kB / 480.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.3894, allocations: 84.14 kB / 480.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.3894, allocations: 15.83 kB / 480.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.3894, allocations: 0 / 480.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3896, allocations: 310.8 kB / 481.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.3896, allocations: 15.98 kB / 481.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.3897, allocations: 31.44 kB / 481.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.3897, allocations: 15.98 kB / 481.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3897, allocations: 0 / 481.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.3899, allocations: 69.62 kB / 481.3 MB, free: 452 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3899, allocations: 4 kB / 481.3 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3899, allocations: 0 / 481.3 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3899, allocations: 4 kB / 481.3 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.956e-05/0.39, allocations: 19.88 kB / 481.3 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.39, allocations: 0 / 481.3 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.3901, allocations: 4 kB / 481.3 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3901, allocations: 0 / 481.3 MB, free: 420 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001115/0.3902, allocations: 126 kB / 481.4 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.3903, allocations: 53.88 kB / 481.5 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.3903, allocations: 8.234 kB / 481.5 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3903, allocations: 4 kB / 481.5 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3904, allocations: 7.891 kB / 481.5 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3904, allocations: 0 / 481.5 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3906, allocations: 169.6 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3906, allocations: 0 / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.3906, allocations: 8 kB / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3907, allocations: 8 kB / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3907, allocations: 0 / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3907, allocations: 0 / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3907, allocations: 7.984 kB / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3909, allocations: 186 kB / 481.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.3909, allocations: 89 kB / 481.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.391, allocations: 0 / 481.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.391, allocations: 11.98 kB / 482 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.3911, allocations: 7.891 kB / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3911, allocations: 4 kB / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.878e-05/0.3912, allocations: 103.2 kB / 482.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3912, allocations: 0 / 482.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.3914, allocations: 4 kB / 482.1 MB, free: 15.52 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.0001351/0.3915, allocations: 103.2 kB / 482.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.3917, allocations: 35.92 kB / 482.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3917, allocations: 0 / 482.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.3917, allocations: 4 kB / 482.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.392, allocations: 31.19 kB / 482.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3923, allocations: 165.7 kB / 482.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3926, allocations: 0.6965 MB / 483.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.447e-05/0.3926, allocations: 4 kB / 483.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.3927, allocations: 11.44 kB / 483.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3927, allocations: 0 / 483.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of Templates: time 0.002272/0.3949, allocations: 429.5 kB / 483.5 MB, free: 13.99 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches