Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00195/0.003211, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.003028, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9008/0.9008, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08524/0.986, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.766e-05, allocations: 2.312 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002674/0.002692, allocations: 1.939 MB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.004794, allocations: 0.7435 MB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.004886, allocations: 7.938 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.004975, allocations: 23.8 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.005078, allocations: 27.8 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.005462, allocations: 167.4 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.005639, allocations: 135.6 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.005748, allocations: 54.34 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.005925, allocations: 111.6 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.006016, allocations: 43.88 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.006041, allocations: 15.94 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.00616, allocations: 59.95 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.006221, allocations: 31.94 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.006264, allocations: 31.88 kB / 248.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.006467, allocations: 135.4 kB / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.006475, allocations: 0 / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006476, allocations: 0 / 248.7 MB, free: 10 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.006483, allocations: 0 / 248.7 MB, free: 10 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.0005173/0.007001, allocations: 403.9 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.00703, allocations: 8.031 kB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.007168, allocations: 106 kB / 249.2 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.007391, allocations: 177.6 kB / 249.4 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.007411, allocations: 8.562 kB / 249.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.00743, allocations: 12.38 kB / 249.4 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.007766, allocations: 279.4 kB / 249.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.007773, allocations: 0 / 249.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.007785, allocations: 4 kB / 249.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.007791, allocations: 0 / 249.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.007842, allocations: 30.12 kB / 249.7 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.008046, allocations: 191.8 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.008215, allocations: 101.1 kB / 250 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.008267, allocations: 49.69 kB / 250.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.008474, allocations: 51.94 kB / 250.1 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.008497, allocations: 38.56 kB / 250.2 MB, free: 8.422 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.008498, allocations: 0 / 250.2 MB, free: 8.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002005/0.008699, allocations: 112.8 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.00875, allocations: 93.23 kB / 250.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.008861, allocations: 174.7 kB / 250.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.008876, allocations: 33.7 kB / 250.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.008917, allocations: 100.5 kB / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.008934, allocations: 7.953 kB / 250.7 MB, free: 7.867 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.008973, allocations: 25.66 kB / 250.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.009055, allocations: 330.7 kB / 251 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.009073, allocations: 10.77 kB / 251 MB, free: 7.492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.009119, allocations: 65.98 kB / 251.1 MB, free: 7.406 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.009173, allocations: 66.62 kB / 251.2 MB, free: 7.324 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009176, allocations: 0 / 251.2 MB, free: 7.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.113e-05/0.009267, allocations: 70.09 kB / 251.2 MB, free: 7.246 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.009278, allocations: 4 kB / 251.2 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.009282, allocations: 0 / 251.2 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.009296, allocations: 4 kB / 251.2 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.009359, allocations: 15.98 kB / 251.3 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009362, allocations: 4.062 kB / 251.3 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.009407, allocations: 12 kB / 251.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.009413, allocations: 4 kB / 251.3 MB, free: 7.203 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 8.729e-05/0.0095, allocations: 128.6 kB / 251.4 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.009597, allocations: 73.67 kB / 251.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.009731, allocations: 99.39 kB / 251.6 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.009734, allocations: 4 kB / 251.6 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.009736, allocations: 0 / 251.6 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.00974, allocations: 3.984 kB / 251.6 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.009866, allocations: 105.8 kB / 251.7 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.009873, allocations: 7.938 kB / 251.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.009966, allocations: 31.97 kB / 251.7 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.01002, allocations: 35.86 kB / 251.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01002, allocations: 0 / 251.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01003, allocations: 4 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01003, allocations: 3.938 kB / 251.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01003, allocations: 3.938 kB / 251.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.01011, allocations: 143.2 kB / 251.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01013, allocations: 8 kB / 251.9 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.01023, allocations: 16.02 kB / 251.9 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.01025, allocations: 0 / 251.9 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.01026, allocations: 4 kB / 251.9 MB, free: 6.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.02e-05/0.01031, allocations: 54.05 kB / 252 MB, free: 6.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01031, allocations: 0 / 252 MB, free: 6.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.01052, allocations: 27.94 kB / 252 MB, free: 6.398 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.0001156/0.01064, allocations: 96.34 kB / 252.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.01074, allocations: 53.06 kB / 252.2 MB, free: 6.238 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.01074, allocations: 8.094 kB / 252.2 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.01076, allocations: 4.859 kB / 252.2 MB, free: 6.223 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.01115, allocations: 331 kB / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.01203, allocations: 345.1 kB / 252.8 MB, free: 5.484 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01208, allocations: 84.05 kB / 252.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.763e-05/0.0121, allocations: 13.23 kB / 252.9 MB, free: 5.367 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.0122, allocations: 79.36 kB / 253 MB, free: 5.289 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0122, allocations: 0 / 253 MB, free: 5.289 MB / 250.7 MB Notification: Performance of Templates: time 0.003849/0.01605, allocations: 2.614 MB / 255.6 MB, free: 2.711 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4589300500229]