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.001103/0.001103, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002623, 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.001004/0.001004, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002292, 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.9294/0.9294, allocations: 177.5 MB / 190.1 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09016/1.02, allocations: 53.87 MB / 243.9 MB, free: 14.84 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.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 1.663e-06/1.663e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.374e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003771/0.003794, allocations: 1.925 MB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.005933, allocations: 1.172 MB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.00607, allocations: 3.938 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.006715, allocations: 171.2 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.007192, allocations: 175.2 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.007651, allocations: 155.4 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005741/0.008225, allocations: 211.3 kB / 249 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.008332, allocations: 18.41 kB / 249 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.008586, allocations: 164.3 kB / 249.2 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.008733, allocations: 75.78 kB / 249.3 MB, free: 9.488 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.008763, allocations: 12 kB / 249.3 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.008949, allocations: 63.83 kB / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.009032, allocations: 43.86 kB / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.579e-05/0.009098, allocations: 35.88 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.009391, allocations: 163.4 kB / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.009405, allocations: 0 / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.009406, allocations: 0 / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.009416, allocations: 0 / 249.6 MB, free: 9.176 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007449/0.01016, allocations: 476.9 kB / 250 MB, free: 8.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.0102, allocations: 8.625 kB / 250 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.01025, allocations: 16.92 kB / 250.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.01052, allocations: 205.5 kB / 250.3 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.01054, allocations: 4.375 kB / 250.3 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.01056, allocations: 8.375 kB / 250.3 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.01074, allocations: 88.47 kB / 250.4 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.01075, allocations: 192 / 250.4 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.01076, allocations: 4.312 kB / 250.4 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01077, allocations: 7.938 kB / 250.4 MB, free: 8.297 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.01083, allocations: 30.8 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.0113, allocations: 458.3 kB / 250.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.01147, allocations: 134.5 kB / 251 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.01151, allocations: 30.56 kB / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.01153, allocations: 0 / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.0117, allocations: 116.5 kB / 251.1 MB, free: 7.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.0117, allocations: 4 kB / 251.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000212/0.01191, allocations: 92.42 kB / 251.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.01197, allocations: 118.7 kB / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01218, allocations: 234.7 kB / 251.6 MB, free: 6.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.0122, allocations: 29.7 kB / 251.6 MB, free: 6.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.01226, allocations: 108.5 kB / 251.7 MB, free: 6.824 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.0123, allocations: 23.84 kB / 251.7 MB, free: 6.801 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.01235, allocations: 29.7 kB / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01245, allocations: 338.8 kB / 252.1 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/0.01249, allocations: 14.77 kB / 252.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.01255, allocations: 86.05 kB / 252.2 MB, free: 6.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.01264, allocations: 69.84 kB / 252.3 MB, free: 6.219 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.01265, allocations: 4 kB / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000149/0.0128, allocations: 96.98 kB / 252.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.01282, allocations: 11.92 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01282, allocations: 4 kB / 252.4 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01284, allocations: 8.125 kB / 252.4 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01294, allocations: 19.94 kB / 252.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01294, allocations: 0 / 252.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.01303, allocations: 15.94 kB / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01304, allocations: 8 kB / 252.4 MB, free: 6.047 MB / 250.7 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.698e-05/0.01314, allocations: 117.6 kB / 252.5 MB, free: 5.922 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.01317, allocations: 19.92 kB / 252.6 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.01332, allocations: 75.38 kB / 252.6 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01332, allocations: 4 kB / 252.6 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01332, allocations: 4 kB / 252.6 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01333, allocations: 0 / 252.6 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.01349, allocations: 117.8 kB / 252.7 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.01349, allocations: 4 kB / 252.8 MB, free: 5.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.01354, allocations: 8 kB / 252.8 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.01357, allocations: 19.86 kB / 252.8 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01357, allocations: 3.984 kB / 252.8 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01358, allocations: 11.88 kB / 252.8 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01359, allocations: 0 / 252.8 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.01359, allocations: 3.938 kB / 252.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01375, allocations: 120.5 kB / 252.9 MB, free: 5.488 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.01379, allocations: 8 kB / 252.9 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.01387, allocations: 15.92 kB / 252.9 MB, free: 5.465 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.01392, allocations: 19.97 kB / 253 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01394, allocations: 0 / 253 MB, free: 5.445 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.01405, allocations: 85.61 kB / 253 MB, free: 5.355 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01405, allocations: 0 / 253 MB, free: 5.355 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.01428, allocations: 39.92 kB / 253.1 MB, free: 5.316 MB / 250.7 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.001694/0.01598, allocations: 0.5428 MB / 253.6 MB, free: 4.996 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.01617, allocations: 72.69 kB / 253.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.01618, allocations: 0 / 253.7 MB, free: 4.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.01626, allocations: 40.84 kB / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.01667, allocations: 327.9 kB / 254.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.01745, allocations: 344.8 kB / 254.4 MB, free: 4.133 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.01751, allocations: 83.92 kB / 254.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.01758, allocations: 21.42 kB / 254.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.0177, allocations: 83.34 kB / 254.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0177, allocations: 0 / 254.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of Templates: time 0.006846/0.02455, allocations: 3.151 MB / 257.7 MB, free: 0.8164 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.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.4937749477103353]