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.001412/0.001412, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001217/0.001217, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 18.57 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.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.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.841e-05, allocations: 2.312 kB / 273 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.006031/0.006059, allocations: 1.883 MB / 274.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003731/0.00979, allocations: 1.159 MB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.009917, allocations: 0 / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006427/0.01056, allocations: 175.4 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006815/0.01124, allocations: 175.2 kB / 276.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.01162, allocations: 147.5 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.01191, allocations: 219.2 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.01201, allocations: 17.8 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.01216, allocations: 111.7 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.01236, allocations: 83.77 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.01239, allocations: 12 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.01253, allocations: 55.95 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.0126, allocations: 47.84 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.01267, allocations: 47.84 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.01296, allocations: 175.3 kB / 277.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.01296, allocations: 0 / 277.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01296, allocations: 4 kB / 277.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01297, allocations: 4 kB / 277.3 MB, free: 13.48 MB / 266.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.0006937/0.01366, allocations: 0.5518 MB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.0137, allocations: 11.98 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.01377, allocations: 28.8 kB / 277.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.01403, allocations: 216.3 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.01405, allocations: 8.375 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.01407, allocations: 4.375 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.01426, allocations: 116.9 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.01426, allocations: 192 / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.01427, allocations: 384 / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.01428, allocations: 7.938 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.01435, allocations: 31.91 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.01491, allocations: 0.7191 MB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.01508, allocations: 117.4 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.01514, allocations: 54.92 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01516, allocations: 7.938 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.01532, allocations: 116.1 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.01532, allocations: 0 / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.002395/0.01771, allocations: 141.4 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.01777, allocations: 106.8 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.01803, allocations: 296.3 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.01805, allocations: 29.7 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.01815, allocations: 170.9 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.01818, allocations: 39.8 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.01824, allocations: 43.48 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.01838, allocations: 0.5001 MB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.01842, allocations: 19.98 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.01851, allocations: 95.81 kB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.01862, allocations: 86.8 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01862, allocations: 0 / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001839/0.0188, allocations: 133.5 kB / 280.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01882, allocations: 4 kB / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01882, allocations: 0 / 280.9 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01884, allocations: 4 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.01892, allocations: 19.92 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01893, allocations: 0 / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.01901, allocations: 12 kB / 280.9 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.01902, allocations: 4 kB / 280.9 MB, free: 9.465 MB / 266.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.796e-05/0.01911, allocations: 180.4 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.01915, allocations: 27.8 kB / 281.1 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.02105, allocations: 99.47 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02106, allocations: 0 / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.02106, allocations: 7.938 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02107, allocations: 3.984 kB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.02125, allocations: 184.5 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02126, allocations: 0 / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.02129, allocations: 15.94 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.02129, allocations: 3.938 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.02131, allocations: 7.984 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02131, allocations: 0 / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02131, allocations: 4 kB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.02151, allocations: 171.7 kB / 281.6 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.02154, allocations: 23.83 kB / 281.6 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.02157, allocations: 8.125 kB / 281.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.02164, allocations: 11.98 kB / 281.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.02169, allocations: 15.92 kB / 281.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.02171, allocations: 8 kB / 281.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.02186, allocations: 217.1 kB / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02186, allocations: 0 / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001053/0.02291, allocations: 39.89 kB / 281.9 MB, free: 8.371 MB / 266.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.001016/0.02393, allocations: 389 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.02411, allocations: 83.02 kB / 282.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02411, allocations: 0 / 282.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.02418, allocations: 43.61 kB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.02449, allocations: 48.34 kB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.02501, allocations: 341.8 kB / 282.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.329e-05/0.02507, allocations: 79.98 kB / 282.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.02514, allocations: 29.64 kB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.02519, allocations: 24.44 kB / 282.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02519, allocations: 0 / 282.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of Templates: time 0.005254/0.03044, allocations: 2.891 MB / 285.8 MB, free: 4.547 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.139324604999274]