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.001535/0.001535, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001719/0.001719, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.5/1.5, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.002018/0.002018, allocations: 63.89 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09871, allocations: 53.33 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.00351/0.1022, allocations: 1.852 MB / 429.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1043, allocations: 1.192 MB / 430.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1045, allocations: 3.938 kB / 430.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.1051, allocations: 167.5 kB / 431 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.1056, allocations: 163.4 kB / 431.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.106, allocations: 146.8 kB / 431.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1063, allocations: 219.4 kB / 431.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1065, allocations: 13.56 kB / 431.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1066, allocations: 91.56 kB / 431.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.1068, allocations: 91.66 kB / 431.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.1069, allocations: 12 kB / 431.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.107, allocations: 59.95 kB / 431.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.1071, allocations: 47.78 kB / 431.9 MB, free: 460 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.1072, allocations: 79.47 kB / 431.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.1076, allocations: 235 kB / 432.2 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1076, allocations: 0 / 432.2 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1076, allocations: 0 / 432.2 MB, free: 144 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1076, allocations: 0 / 432.2 MB, free: 144 kB / 350.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.1971/0.3047, allocations: 0.5263 MB / 432.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3048, allocations: 9.781 kB / 432.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.3048, allocations: 22.42 kB / 432.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.3051, allocations: 270 kB / 433 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3051, allocations: 10.48 kB / 433 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3052, allocations: 5.25 kB / 433 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.3054, allocations: 118.4 kB / 433.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3054, allocations: 0.8438 kB / 433.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3054, allocations: 4.812 kB / 433.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3054, allocations: 3.125 kB / 433.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3056, allocations: 54.59 kB / 433.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.3061, allocations: 0.6053 MB / 433.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.3064, allocations: 119.9 kB / 433.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.3065, allocations: 48.64 kB / 434 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3065, allocations: 6.094 kB / 434 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.3067, allocations: 119.2 kB / 434.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3067, allocations: 3.5 kB / 434.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004129/0.3071, allocations: 174.2 kB / 434.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3072, allocations: 136.7 kB / 434.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.3074, allocations: 293.7 kB / 434.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3074, allocations: 30.55 kB / 434.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.3075, allocations: 129.3 kB / 434.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3075, allocations: 32.3 kB / 434.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3076, allocations: 28.89 kB / 434.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.3076, allocations: 338.9 kB / 435.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.3077, allocations: 30.83 kB / 435.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.543e-05/0.3078, allocations: 88.41 kB / 435.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.308, allocations: 96.84 kB / 435.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.308, allocations: 0 / 435.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002269/0.3082, allocations: 147.1 kB / 435.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3082, allocations: 8.609 kB / 435.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3082, allocations: 1.781 kB / 435.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3082, allocations: 3.281 kB / 435.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.3083, allocations: 23 kB / 435.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3083, allocations: 0.8438 kB / 435.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3084, allocations: 16.17 kB / 435.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3084, allocations: 12.72 kB / 435.6 MB, free: 9.574 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 9.697e-05/0.3085, allocations: 150.1 kB / 435.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3086, allocations: 22.66 kB / 435.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.3086, allocations: 24.19 kB / 435.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3086, allocations: 2.719 kB / 435.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3086, allocations: 1.438 kB / 435.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3086, allocations: 0 / 435.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3088, allocations: 247 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3088, allocations: 4.859 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.3088, allocations: 10.62 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3088, allocations: 2.875 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3088, allocations: 1.125 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3088, allocations: 2.406 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3088, allocations: 3.375 kB / 436.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.3091, allocations: 184.5 kB / 436.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3091, allocations: 97.14 kB / 436.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.3092, allocations: 5.406 kB / 436.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.3093, allocations: 12.67 kB / 436.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3093, allocations: 14.61 kB / 436.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3093, allocations: 13.88 kB / 436.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.3095, allocations: 215.5 kB / 436.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3095, allocations: 4.562 kB / 436.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.3098, allocations: 36.69 kB / 436.7 MB, free: 8.957 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.001427/0.3112, allocations: 417.8 kB / 437.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.3114, allocations: 96.95 kB / 437.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3114, allocations: 4.062 kB / 437.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3116, allocations: 44.52 kB / 437.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3119, allocations: 44.03 kB / 437.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.3125, allocations: 385.2 kB / 437.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3126, allocations: 0.7388 MB / 438.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.3127, allocations: 26.77 kB / 438.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3127, allocations: 0 / 438.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Templates: time 0.005502/0.3182, allocations: 2.958 MB / 441.4 MB, free: 7.559 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.321687311981805]