Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001836, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006328/0.0006328, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001525/0.002158, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8878/0.8878, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1934/1.081, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.799e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003726/0.003754, allocations: 1.897 MB / 241.6 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.005632, allocations: 1.034 MB / 242.7 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.00576, allocations: 4.688 kB / 242.7 MB, free: 3.438 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.006359, allocations: 157.9 kB / 242.8 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.006708, allocations: 140.8 kB / 243 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.007233, allocations: 184.1 kB / 243.1 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.007552, allocations: 203.4 kB / 243.3 MB, free: 2.77 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.007652, allocations: 11.56 kB / 243.3 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.007914, allocations: 156.5 kB / 243.5 MB, free: 2.602 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.00806, allocations: 78.91 kB / 243.6 MB, free: 2.527 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.008088, allocations: 12 kB / 243.6 MB, free: 2.516 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.00828, allocations: 59.89 kB / 243.6 MB, free: 2.457 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.008363, allocations: 39.86 kB / 243.7 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.008426, allocations: 35.88 kB / 243.7 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.008728, allocations: 159.4 kB / 243.9 MB, free: 2.227 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.008742, allocations: 0 / 243.9 MB, free: 2.227 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008744, allocations: 0 / 243.9 MB, free: 2.227 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.008757, allocations: 0 / 243.9 MB, free: 2.227 MB / 234.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.0007917/0.009549, allocations: 466.2 kB / 244.3 MB, free: 1.742 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.009589, allocations: 8.031 kB / 244.3 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.009653, allocations: 17.95 kB / 244.4 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.009938, allocations: 201.5 kB / 244.6 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.009961, allocations: 8.375 kB / 244.6 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.009981, allocations: 10.97 kB / 244.6 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.01017, allocations: 91.89 kB / 244.7 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.01018, allocations: 0 / 244.7 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.0102, allocations: 8 kB / 244.7 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.0102, allocations: 0 / 244.7 MB, free: 1.359 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.01026, allocations: 22.75 kB / 244.7 MB, free: 1.336 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.01076, allocations: 455.2 kB / 245.1 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.01093, allocations: 135.5 kB / 245.3 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.01098, allocations: 32.34 kB / 245.3 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.01101, allocations: 8 kB / 245.3 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.01117, allocations: 104.6 kB / 245.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.01118, allocations: 0 / 245.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002227/0.0114, allocations: 97.08 kB / 245.5 MB, free: 440 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.01146, allocations: 107.5 kB / 245.6 MB, free: 308 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.01167, allocations: 230.6 kB / 245.8 MB, free: 64 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.0117, allocations: 31.67 kB / 245.9 MB, free: 28 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.01178, allocations: 116.5 kB / 246 MB, free: 15.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.01183, allocations: 31.77 kB / 246 MB, free: 15.88 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.01188, allocations: 37.69 kB / 246.1 MB, free: 15.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.01199, allocations: 330.7 kB / 246.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.01203, allocations: 16.28 kB / 246.4 MB, free: 15.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.01211, allocations: 78.83 kB / 246.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.389e-05/0.0122, allocations: 74.97 kB / 246.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01221, allocations: 0.5938 kB / 246.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001592/0.01237, allocations: 98.58 kB / 246.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01238, allocations: 8 kB / 246.6 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01239, allocations: 0 / 246.6 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.01241, allocations: 4 kB / 246.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.01251, allocations: 15.98 kB / 246.7 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.01252, allocations: 8.438 kB / 246.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.0126, allocations: 24.72 kB / 246.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.01261, allocations: 4 kB / 246.7 MB, free: 15.13 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 0.0001067/0.01272, allocations: 126.2 kB / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.01275, allocations: 15.98 kB / 246.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.01289, allocations: 75.39 kB / 246.9 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.01289, allocations: 4.25 kB / 246.9 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.0129, allocations: 4 kB / 246.9 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.0129, allocations: 0 / 246.9 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01308, allocations: 117.8 kB / 247 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01308, allocations: 0 / 247 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.01312, allocations: 11.94 kB / 247 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.01315, allocations: 23.78 kB / 247.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.01315, allocations: 4 kB / 247.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01316, allocations: 0 / 247.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.01317, allocations: 4 kB / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01317, allocations: 0 / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01334, allocations: 139.1 kB / 247.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.01337, allocations: 3.984 kB / 247.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.01344, allocations: 12.12 kB / 247.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.0135, allocations: 19.97 kB / 247.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.01352, allocations: 4 kB / 247.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.01362, allocations: 81.61 kB / 247.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01362, allocations: 0 / 247.3 MB, free: 14.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.01388, allocations: 32 kB / 247.4 MB, free: 14.41 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.001822/0.0157, allocations: 0.5705 MB / 247.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.01588, allocations: 52.77 kB / 248 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.0159, allocations: 4 kB / 248 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.01597, allocations: 44.77 kB / 248 MB, free: 14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.01639, allocations: 326.8 kB / 248.4 MB, free: 13.63 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.01724, allocations: 328.6 kB / 248.7 MB, free: 13.28 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.0173, allocations: 79.98 kB / 248.8 MB, free: 13.18 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.01739, allocations: 21.47 kB / 248.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.01752, allocations: 83.3 kB / 248.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01752, allocations: 0 / 248.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of Templates: time 0.007321/0.02484, allocations: 3.126 MB / 252 MB, free: 10.01 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6305609382689]