Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 95.53 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.649e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4839, allocations: 76.16 MB / 463.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4842, allocations: 77.8 kB / 463.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004122/0.4883, allocations: 1.395 MB / 465.1 MB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4884, allocations: 0 / 465.1 MB, free: 1.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4884, allocations: 11.94 kB / 465.1 MB, free: 1.223 MB / 330.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.0004044/0.4888, allocations: 343.1 kB / 465.5 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4889, allocations: 8.031 kB / 465.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.4889, allocations: 11.86 kB / 465.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4892, allocations: 192 kB / 465.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4892, allocations: 7.938 kB / 465.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.4892, allocations: 0 / 465.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.939e-05/0.4893, allocations: 15.98 kB / 465.7 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.4895, allocations: 81.06 kB / 465.8 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4895, allocations: 0 / 465.8 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4895, allocations: 3.953 kB / 465.8 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4895, allocations: 7.984 kB / 465.8 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.4899, allocations: 246.4 kB / 466 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.287e-05/0.49, allocations: 41.16 kB / 466.1 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.4901, allocations: 9.719 kB / 466.1 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4901, allocations: 64 / 466.1 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4901, allocations: 42.55 kB / 466.1 MB, free: 64 kB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4901, allocations: 0 / 466.1 MB, free: 64 kB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.4903, allocations: 53.5 kB / 466.2 MB, free: 4 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.4904, allocations: 81.05 kB / 466.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4905, allocations: 126.7 kB / 466.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4905, allocations: 25.7 kB / 466.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.4906, allocations: 84.14 kB / 466.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.4906, allocations: 0 / 466.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.4906, allocations: 4.062 kB / 466.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4907, allocations: 314.8 kB / 466.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.4907, allocations: 4 kB / 466.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.4907, allocations: 17.7 kB / 466.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/0.4908, allocations: 4 kB / 466.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4908, allocations: 0 / 466.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.664e-05/0.4909, allocations: 49.61 kB / 466.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4909, allocations: 8 kB / 466.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4909, allocations: 3.984 kB / 466.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4909, allocations: 0 / 466.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.491, allocations: 4 kB / 466.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.491, allocations: 11.94 kB / 466.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.4911, allocations: 0 / 466.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.4911, allocations: 4 kB / 466.9 MB, free: 15.22 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: 0 () * Number of discrete 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 5.908e-05/0.4911, allocations: 105 kB / 467 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.4912, allocations: 45.53 kB / 467 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.4913, allocations: 11.91 kB / 467 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4913, allocations: 4 kB / 467 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4913, allocations: 0 / 467 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4913, allocations: 3.953 kB / 467.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.4914, allocations: 142.2 kB / 467.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4914, allocations: 0 / 467.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.4915, allocations: 11.98 kB / 467.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4915, allocations: 0 / 467.2 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4915, allocations: 8.031 kB / 467.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4915, allocations: 0 / 467.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4915, allocations: 0 / 467.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.4917, allocations: 162 kB / 467.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.4917, allocations: 89.09 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4918, allocations: 1.531 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.4918, allocations: 11.94 kB / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.4919, allocations: 0 / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.4919, allocations: 0 / 467.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.927e-05/0.492, allocations: 108.7 kB / 467.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.492, allocations: 0 / 467.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.4922, allocations: 7.953 kB / 467.6 MB, free: 14.43 MB / 346.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 () * 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 0.0001044/0.4923, allocations: 95.25 kB / 467.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.4924, allocations: 23.92 kB / 467.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4924, allocations: 0 / 467.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.58e-05/0.4924, allocations: 4 kB / 467.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.4927, allocations: 11.97 kB / 467.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.4929, allocations: 92.83 kB / 467.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.4932, allocations: 0.6885 MB / 468.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.4933, allocations: 16.2 kB / 468.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.4933, allocations: 7.438 kB / 468.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4933, allocations: 0 / 468.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of Templates: time 0.002325/0.4956, allocations: 392.5 kB / 468.9 MB, free: 13.05 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches