Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.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.00155/0.00155, allocations: 111.6 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001632/0.001632, allocations: 219.4 kB / 24.48 MB, free: 3.965 MB / 14.72 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 1.632/1.632, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 64.14 kB / 379 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4378, allocations: 53.41 MB / 432.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003523/0.4413, allocations: 1.813 MB / 434.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.4435, allocations: 1.122 MB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.4436, allocations: 7.938 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006586/0.4443, allocations: 167.5 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.4447, allocations: 175.3 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.4451, allocations: 142.7 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.4453, allocations: 215.4 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4455, allocations: 13.73 kB / 436 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.4456, allocations: 95.56 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.4458, allocations: 87.66 kB / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.4458, allocations: 12 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.4459, allocations: 67.88 kB / 436.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.446, allocations: 43.84 kB / 436.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.4461, allocations: 59.61 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.4465, allocations: 237.7 kB / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4465, allocations: 0 / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4465, allocations: 0 / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4465, allocations: 0 / 436.6 MB, free: 2.324 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009831/0.4475, allocations: 466.7 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4475, allocations: 11.98 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.4476, allocations: 28.78 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.448, allocations: 209.1 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.448, allocations: 4.312 kB / 437.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.448, allocations: 8.375 kB / 437.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.4483, allocations: 117.4 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4483, allocations: 0 / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4483, allocations: 0 / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.4483, allocations: 4 kB / 437.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.4485, allocations: 59.89 kB / 437.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.4492, allocations: 0.5398 MB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.4495, allocations: 115.9 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.4496, allocations: 58.55 kB / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4497, allocations: 0 / 438.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.4499, allocations: 121.9 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.4499, allocations: 4 kB / 438.3 MB, free: 432 kB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004724/0.4504, allocations: 185.9 kB / 438.5 MB, free: 240 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.4505, allocations: 106.8 kB / 438.6 MB, free: 108 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.4509, allocations: 293 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4509, allocations: 37.64 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.451, allocations: 124.1 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.451, allocations: 31.81 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.4511, allocations: 33.7 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4513, allocations: 338.8 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.4514, allocations: 36.11 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.4515, allocations: 105.8 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.4517, allocations: 96.22 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4517, allocations: 3.938 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000285/0.452, allocations: 145.5 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.452, allocations: 14.38 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.452, allocations: 0 / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.452, allocations: 4 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.4521, allocations: 15.98 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.4521, allocations: 0 / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.4522, allocations: 19.92 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.4522, allocations: 4 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001535/0.4524, allocations: 149.9 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.4524, allocations: 19.86 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.4527, allocations: 123.3 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4527, allocations: 4 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4527, allocations: 4 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4527, allocations: 0 / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.4529, allocations: 181.1 kB / 440.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4529, allocations: 4 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.453, allocations: 4 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.453, allocations: 4 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.453, allocations: 0 / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.453, allocations: 0 / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.453, allocations: 8 kB / 440.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.4533, allocations: 190.5 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.4534, allocations: 19.91 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.4534, allocations: 4 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.4535, allocations: 11.98 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.4536, allocations: 19.97 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4536, allocations: 4 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.4538, allocations: 216.5 kB / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4538, allocations: 0 / 440.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.4541, allocations: 51.88 kB / 440.9 MB, free: 13.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001641/0.4557, allocations: 442.9 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.456, allocations: 91.89 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.456, allocations: 4 kB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.4562, allocations: 47.92 kB / 441.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4565, allocations: 63.89 kB / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.4573, allocations: 382.7 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.4574, allocations: 123.6 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.4575, allocations: 19.44 kB / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4575, allocations: 0 / 442 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Templates: time 0.005639/0.4631, allocations: 2.999 MB / 445 MB, free: 9.637 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.827536130324006]