Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 176.9 kB / 17.4 MB, free: 4.301 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.469/1.469, allocations: 223.3 MB / 241.4 MB, free: 9.949 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.0007906/0.0007908, allocations: 92.98 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 15.94 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2716, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3759, allocations: 76.37 MB / 479.1 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.3762, allocations: 77.14 kB / 479.2 MB, free: 3.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002668/0.3789, allocations: 1.106 MB / 480.3 MB, free: 2.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.888e-06/0.3789, allocations: 0 / 480.3 MB, free: 2.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3789, allocations: 7.938 kB / 480.3 MB, free: 2.762 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003561/0.3793, allocations: 348 kB / 480.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3793, allocations: 12.03 kB / 480.7 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3794, allocations: 5.469 kB / 480.7 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.3796, allocations: 189.6 kB / 480.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3796, allocations: 4.375 kB / 480.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.3796, allocations: 384 / 480.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3798, allocations: 92.83 kB / 480.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3798, allocations: 192 / 480.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3799, allocations: 11.88 kB / 481 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3799, allocations: 0 / 481 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.38, allocations: 26.17 kB / 481 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.3803, allocations: 266.4 kB / 481.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.3804, allocations: 41.16 kB / 481.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.3805, allocations: 25.7 kB / 481.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3805, allocations: 4 kB / 481.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3805, allocations: 34.56 kB / 481.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3805, allocations: 0 / 481.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002221/0.3807, allocations: 69.52 kB / 481.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3808, allocations: 81.11 kB / 481.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3809, allocations: 133.6 kB / 481.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3809, allocations: 29.7 kB / 481.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.381, allocations: 88.14 kB / 481.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.381, allocations: 7.844 kB / 481.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.381, allocations: 0 / 481.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.3811, allocations: 318.8 kB / 482.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.3811, allocations: 8 kB / 482.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.3812, allocations: 21.7 kB / 482.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.3813, allocations: 37.64 kB / 482.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3813, allocations: 0 / 482.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001049/0.3814, allocations: 65.62 kB / 482.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3814, allocations: 4 kB / 482.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3814, allocations: 0 / 482.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3814, allocations: 0 / 482.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.3815, allocations: 8 kB / 482.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3815, allocations: 0 / 482.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.3815, allocations: 7.984 kB / 482.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3816, allocations: 0 / 482.2 MB, free: 0.6055 MB / 346.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 8.097e-05/0.3816, allocations: 121.8 kB / 482.3 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.3817, allocations: 41.59 kB / 482.4 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.3817, allocations: 3.875 kB / 482.4 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3817, allocations: 4 kB / 482.4 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3817, allocations: 0 / 482.4 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3818, allocations: 0 / 482.4 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3819, allocations: 169.6 kB / 482.5 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3819, allocations: 0 / 482.5 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.382, allocations: 11.94 kB / 482.5 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.382, allocations: 4.031 kB / 482.6 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.382, allocations: 4 kB / 482.6 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.382, allocations: 0 / 482.6 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.382, allocations: 0 / 482.6 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.3821, allocations: 176.2 kB / 482.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.3822, allocations: 89.17 kB / 482.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3822, allocations: 3.938 kB / 482.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.3823, allocations: 4 kB / 482.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3823, allocations: 0 / 482.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3824, allocations: 0 / 482.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.313e-05/0.3824, allocations: 110.6 kB / 482.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.964e-06/0.3824, allocations: 0 / 482.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.3826, allocations: 7.938 kB / 482.9 MB, free: 15.77 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.245e-05/0.3827, allocations: 103.2 kB / 483 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.3829, allocations: 19.98 kB / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.3829, allocations: 0 / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.3829, allocations: 8 kB / 483.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3832, allocations: 19.89 kB / 483.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.3835, allocations: 157.8 kB / 483.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3838, allocations: 0.6887 MB / 483.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.3838, allocations: 0 / 483.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.3839, allocations: 7.438 kB / 483.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3839, allocations: 0 / 483.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Templates: time 0.002143/0.386, allocations: 400.4 kB / 484.3 MB, free: 14.32 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches