Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006945/0.0006945, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009765/0.001671, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006251/0.0006251, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008995/0.001525, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8864/0.8864, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08742/0.9738, allocations: 52.5 MB / 238.4 MB, free: 4.359 MB / 234.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 239.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.218e-05, allocations: 2.312 kB / 239.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003277/0.003299, allocations: 1.928 MB / 241.7 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.004324, allocations: 0.6773 MB / 242.3 MB, free: 452 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.004433, allocations: 7.938 kB / 242.4 MB, free: 444 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.004544, allocations: 23.73 kB / 242.4 MB, free: 420 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.004664, allocations: 19.86 kB / 242.4 MB, free: 400 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.005102, allocations: 159.4 kB / 242.6 MB, free: 240 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.005315, allocations: 143.6 kB / 242.7 MB, free: 96 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.005447, allocations: 50.36 kB / 242.7 MB, free: 44 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.005649, allocations: 103.7 kB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.005759, allocations: 39.89 kB / 242.9 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.005789, allocations: 16 kB / 242.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.005909, allocations: 47.95 kB / 242.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.00599, allocations: 39.86 kB / 243 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.00604, allocations: 39.81 kB / 243 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.006272, allocations: 123.5 kB / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.006282, allocations: 0 / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006283, allocations: 0 / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.006296, allocations: 0 / 243.1 MB, free: 15.64 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006698/0.006965, allocations: 403.8 kB / 243.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.00701, allocations: 8.031 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.00707, allocations: 20.92 kB / 243.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.007328, allocations: 169.6 kB / 243.7 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.007353, allocations: 8.562 kB / 243.7 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.007378, allocations: 8.312 kB / 243.7 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.007831, allocations: 280.7 kB / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007841, allocations: 0 / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.007855, allocations: 4 kB / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.007863, allocations: 0 / 244 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.007923, allocations: 30.47 kB / 244.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.008224, allocations: 187.8 kB / 244.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.008463, allocations: 101.1 kB / 244.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.008525, allocations: 45.75 kB / 244.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.008769, allocations: 47.95 kB / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.008797, allocations: 42.48 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.008798, allocations: 4 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002465/0.009045, allocations: 112 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.009111, allocations: 85.11 kB / 244.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.009241, allocations: 179.3 kB / 244.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.009259, allocations: 33.7 kB / 244.9 MB, free: 13.74 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.009304, allocations: 92.61 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.009327, allocations: 11.91 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.00937, allocations: 21.7 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.00948, allocations: 330.7 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.009498, allocations: 6.953 kB / 245.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.00955, allocations: 65.98 kB / 245.4 MB, free: 13.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.134e-05/0.009611, allocations: 54.67 kB / 245.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.009613, allocations: 0 / 245.4 MB, free: 13.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001091/0.009722, allocations: 74.03 kB / 245.5 MB, free: 13.03 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.009737, allocations: 4 kB / 245.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009742, allocations: 4.156 kB / 245.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.009758, allocations: 4 kB / 245.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.009843, allocations: 15.98 kB / 245.5 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.009848, allocations: 0 / 245.5 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.0099, allocations: 7.938 kB / 245.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.009914, allocations: 12 kB / 245.6 MB, free: 12.98 MB / 250.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: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.01004, allocations: 132.5 kB / 245.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.01016, allocations: 77.56 kB / 245.8 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.01032, allocations: 106.1 kB / 245.9 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01032, allocations: 8 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01033, allocations: 0 / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01033, allocations: 0 / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.01047, allocations: 101.8 kB / 246 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.01048, allocations: 11.92 kB / 246 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.01059, allocations: 31.92 kB / 246 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.01065, allocations: 31.78 kB / 246.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01065, allocations: 0 / 246.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01067, allocations: 8 kB / 246.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01067, allocations: 160 / 246.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01067, allocations: 0 / 246.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.019e-05/0.01076, allocations: 151.1 kB / 246.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.01079, allocations: 11.98 kB / 246.2 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.01087, allocations: 8 kB / 246.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.01089, allocations: 0 / 246.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.01091, allocations: 7.984 kB / 246.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.01096, allocations: 48.97 kB / 246.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01096, allocations: 0 / 246.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.01119, allocations: 24 kB / 246.3 MB, free: 12.17 MB / 250.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.01134, allocations: 100.4 kB / 246.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01146, allocations: 56.69 kB / 246.5 MB, free: 12.01 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.01146, allocations: 0 / 246.5 MB, free: 12.01 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.01148, allocations: 8.859 kB / 246.5 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.01193, allocations: 327.2 kB / 246.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.01293, allocations: 353.5 kB / 247.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.163e-05/0.01299, allocations: 76.06 kB / 247.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.01303, allocations: 13.14 kB / 247.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.01315, allocations: 79.34 kB / 247.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01315, allocations: 0 / 247.3 MB, free: 11.06 MB / 250.7 MB Notification: Performance of Templates: time 0.01085/0.024, allocations: 2.639 MB / 249.9 MB, free: 8.469 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.293589310720563]