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.001673/0.001673, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002335/0.002335, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.481/1.481, allocations: 230.3 MB / 258 MB, free: 8.238 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: 59.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2804, allocations: 53.37 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.00381/0.2842, allocations: 1.868 MB / 434 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.2865, allocations: 1.203 MB / 435.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2866, allocations: 4 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007609/0.2874, allocations: 179.5 kB / 435.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.2879, allocations: 167.3 kB / 435.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.2883, allocations: 147.2 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.2886, allocations: 227.3 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2888, allocations: 13.75 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.2889, allocations: 87.61 kB / 436 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.289, allocations: 95.61 kB / 436.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.2891, allocations: 8 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.2893, allocations: 63.95 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.2893, allocations: 43.78 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2894, allocations: 83.53 kB / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.2898, allocations: 224.8 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2899, allocations: 8 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2899, allocations: 0 / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2899, allocations: 0 / 436.5 MB, free: 2.672 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.001076/0.2909, allocations: 478.6 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.291, allocations: 8.031 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.2911, allocations: 24.8 kB / 437 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.2914, allocations: 197.2 kB / 437.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2914, allocations: 4.375 kB / 437.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.2915, allocations: 12.38 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.2918, allocations: 118.2 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2918, allocations: 0 / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.2918, allocations: 8 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2918, allocations: 0 / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.292, allocations: 55.91 kB / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.2928, allocations: 0.5744 MB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.2931, allocations: 127.9 kB / 438.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.2932, allocations: 46.56 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.2932, allocations: 8.062 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.2935, allocations: 121.9 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.2935, allocations: 3.938 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000514/0.294, allocations: 173.4 kB / 438.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.2941, allocations: 136.5 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.2945, allocations: 297.2 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2945, allocations: 25.7 kB / 438.9 MB, free: 48 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.2947, allocations: 128.3 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.2947, allocations: 31.75 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.2948, allocations: 29.7 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.295, allocations: 346.7 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.2951, allocations: 27.98 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2953, allocations: 85.92 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.2955, allocations: 92.22 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2955, allocations: 0 / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003043/0.2958, allocations: 146.1 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2958, allocations: 11.92 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2958, allocations: 0 / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.2958, allocations: 4 kB / 439.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2959, allocations: 20.05 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2959, allocations: 3.984 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2961, allocations: 19.92 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2961, allocations: 4.094 kB / 439.8 MB, free: 15.05 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.0001964/0.2963, allocations: 153.7 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.2963, allocations: 23.86 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.2966, allocations: 107.4 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.2966, allocations: 4 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2966, allocations: 0 / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2966, allocations: 0 / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.2969, allocations: 220.5 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2969, allocations: 4 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.2969, allocations: 15.92 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2969, allocations: 0 / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2969, allocations: 8 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2969, allocations: 0 / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2969, allocations: 0 / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.2973, allocations: 182.5 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.2973, allocations: 27.83 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.2974, allocations: 4 kB / 440.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2975, allocations: 15.92 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.2976, allocations: 15.98 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2976, allocations: 4 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.2978, allocations: 224.4 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2978, allocations: 0 / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.2981, allocations: 32 kB / 440.8 MB, free: 13.95 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 (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.001605/0.2997, allocations: 423.1 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.3, allocations: 83.91 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3, allocations: 3.938 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3002, allocations: 47.97 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3005, allocations: 51.77 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.3013, allocations: 360.9 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3019, allocations: 0.732 MB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.314e-05/0.302, allocations: 33.44 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.302, allocations: 19.44 kB / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.302, allocations: 0 / 442.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.007612/0.3096, allocations: 2.849 MB / 445.4 MB, free: 9.461 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.743588622659445]