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.001453/0.001453, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001817/0.001817, allocations: 206 kB / 23.72 MB, free: 4.391 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.524/1.524, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.001973/0.001973, allocations: 67.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.272, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003754/0.2757, allocations: 1.81 MB / 433.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.2779, allocations: 1.122 MB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.278, allocations: 0 / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.2786, allocations: 178.4 kB / 434.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.2791, allocations: 171.3 kB / 434.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.2795, allocations: 143.6 kB / 435 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.2798, allocations: 215.4 kB / 435.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2799, allocations: 9.75 kB / 435.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.28, allocations: 95.55 kB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.2802, allocations: 91.66 kB / 435.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.2802, allocations: 8 kB / 435.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.2804, allocations: 59.95 kB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.2805, allocations: 59.77 kB / 435.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.682e-05/0.2805, allocations: 55.61 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.2809, allocations: 229.4 kB / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2809, allocations: 3.984 kB / 435.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2809, allocations: 0 / 435.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.2809, allocations: 0 / 435.9 MB, free: 2.285 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.0009157/0.2818, allocations: 466.7 kB / 436.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2819, allocations: 15.98 kB / 436.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.2819, allocations: 20.8 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.2824, allocations: 209.1 kB / 436.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2824, allocations: 12.31 kB / 436.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.2824, allocations: 4.375 kB / 436.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2827, allocations: 117.3 kB / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2827, allocations: 0 / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2827, allocations: 0 / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2827, allocations: 4 kB / 436.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.2828, allocations: 59.89 kB / 436.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.2835, allocations: 0.5437 MB / 437.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.2838, allocations: 127.9 kB / 437.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2839, allocations: 50.56 kB / 437.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.284, allocations: 4 kB / 437.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.2842, allocations: 121.9 kB / 437.6 MB, free: 384 kB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2842, allocations: 0 / 437.6 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004733/0.2847, allocations: 177.5 kB / 437.8 MB, free: 200 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.2847, allocations: 110.8 kB / 437.9 MB, free: 64 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.2851, allocations: 289.1 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.2851, allocations: 33.7 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2852, allocations: 120.1 kB / 438.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.2853, allocations: 39.8 kB / 438.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.2853, allocations: 33.7 kB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2855, allocations: 334.8 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.2856, allocations: 39.91 kB / 438.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2857, allocations: 101.9 kB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2859, allocations: 100.3 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2859, allocations: 3.938 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002848/0.2862, allocations: 154 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.2863, allocations: 4 kB / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2863, allocations: 0 / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2864, allocations: 4 kB / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.2865, allocations: 20.09 kB / 439.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2865, allocations: 0 / 439.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2866, allocations: 11.98 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.2866, allocations: 4 kB / 439.1 MB, free: 14.72 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.0001477/0.2867, allocations: 157.6 kB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.2868, allocations: 19.86 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.287, allocations: 115.4 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.287, allocations: 4 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.287, allocations: 4 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.287, allocations: 0 / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.2873, allocations: 181.1 kB / 439.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2873, allocations: 0 / 439.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.2873, allocations: 7.938 kB / 439.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2873, allocations: 11.92 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2873, allocations: 4 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2873, allocations: 4.078 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2873, allocations: 3.984 kB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.2877, allocations: 190 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.2877, allocations: 27.89 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.2877, allocations: 4 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.2878, allocations: 11.98 kB / 439.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.2879, allocations: 11.98 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2879, allocations: 11.98 kB / 439.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.2882, allocations: 216.5 kB / 440.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2882, allocations: 0 / 440.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.2884, allocations: 39.89 kB / 440.1 MB, free: 13.65 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.001652/0.2901, allocations: 448.5 kB / 440.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.2904, allocations: 91.84 kB / 440.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2904, allocations: 0 / 440.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2905, allocations: 51.91 kB / 440.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2909, allocations: 51.84 kB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/0.2916, allocations: 345.6 kB / 441.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2918, allocations: 127.6 kB / 441.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.732e-05/0.2919, allocations: 25.64 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.2919, allocations: 31.36 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2919, allocations: 4 kB / 441.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Templates: time 0.007192/0.2991, allocations: 3.001 MB / 444.3 MB, free: 9.613 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins/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: 4.6593012399971485]