Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 164.6 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 250.3 MB, free: 7.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.018e-05/4.315e-05, allocations: 6.109 kB / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.005767/0.00581, allocations: 1.795 MB / 252.1 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.008695, allocations: 0.9282 MB / 253.1 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.008863, allocations: 4 kB / 253.1 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.009904, allocations: 167.5 kB / 253.2 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.01054, allocations: 131.4 kB / 253.4 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.01123, allocations: 151.5 kB / 253.5 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.01175, allocations: 207.3 kB / 253.7 MB, free: 4.465 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.01189, allocations: 21.78 kB / 253.7 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.01225, allocations: 111.7 kB / 253.8 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.01251, allocations: 79.78 kB / 253.9 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.01256, allocations: 12 kB / 253.9 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.0128, allocations: 55.91 kB / 254 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.01293, allocations: 47.83 kB / 254 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01307, allocations: 47.86 kB / 254.1 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00078/0.01385, allocations: 219.2 kB / 254.3 MB, free: 3.883 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.01386, allocations: 0 / 254.3 MB, free: 3.883 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01386, allocations: 0 / 254.3 MB, free: 3.883 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.01387, allocations: 0 / 254.3 MB, free: 3.883 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.001488/0.01536, allocations: 470.7 kB / 254.7 MB, free: 3.387 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.01542, allocations: 11.98 kB / 254.8 MB, free: 3.375 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.01556, allocations: 28.8 kB / 254.8 MB, free: 3.348 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.01611, allocations: 200.8 kB / 255 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.01614, allocations: 12.36 kB / 255 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.01618, allocations: 8.375 kB / 255 MB, free: 3.105 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.01657, allocations: 109.6 kB / 255.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01659, allocations: 7.938 kB / 255.1 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.01661, allocations: 4 kB / 255.1 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.01662, allocations: 0 / 255.1 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.01687, allocations: 51.91 kB / 255.2 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.018, allocations: 0.5282 MB / 255.7 MB, free: 2.348 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.01847, allocations: 127.9 kB / 255.8 MB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.01867, allocations: 46.55 kB / 255.9 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.01871, allocations: 8 kB / 255.9 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.01912, allocations: 117.9 kB / 256 MB, free: 1.996 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.01912, allocations: 0 / 256 MB, free: 1.996 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008224/0.01994, allocations: 185.9 kB / 256.2 MB, free: 1.809 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.02009, allocations: 114.8 kB / 256.3 MB, free: 1.672 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.02063, allocations: 285.9 kB / 256.6 MB, free: 1.375 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.02068, allocations: 29.7 kB / 256.6 MB, free: 1.34 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.02084, allocations: 120.1 kB / 256.7 MB, free: 1.219 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.02091, allocations: 39.8 kB / 256.8 MB, free: 1.18 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.02102, allocations: 33.7 kB / 256.8 MB, free: 1.141 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.0213, allocations: 330.8 kB / 257.1 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.02144, allocations: 31.97 kB / 257.1 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.02169, allocations: 98.84 kB / 257.2 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.02204, allocations: 108.2 kB / 257.3 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02204, allocations: 0 / 257.3 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005059/0.02255, allocations: 153.4 kB / 257.5 MB, free: 388 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.02257, allocations: 8 kB / 257.5 MB, free: 380 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.02258, allocations: 0 / 257.5 MB, free: 380 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.02261, allocations: 0 / 257.5 MB, free: 380 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.02274, allocations: 15.94 kB / 257.5 MB, free: 364 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.02276, allocations: 8.031 kB / 257.5 MB, free: 356 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.02295, allocations: 19.92 kB / 257.5 MB, free: 336 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.02298, allocations: 8 kB / 257.5 MB, free: 328 kB / 234.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.0005254/0.0235, allocations: 145.7 kB / 257.7 MB, free: 172 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.02358, allocations: 27.8 kB / 257.7 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.02399, allocations: 123.4 kB / 257.8 MB, free: 12 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.024, allocations: 4 kB / 257.8 MB, free: 8 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.024, allocations: 0 / 257.8 MB, free: 8 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.02401, allocations: 0 / 257.8 MB, free: 8 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.02439, allocations: 177.1 kB / 258 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.0244, allocations: 4 kB / 258 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.02446, allocations: 8 kB / 258 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.02447, allocations: 4 kB / 258 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.02449, allocations: 3.984 kB / 258 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.02449, allocations: 3.938 kB / 258 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.0245, allocations: 4 kB / 258 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.02504, allocations: 182.7 kB / 258.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.02512, allocations: 31.77 kB / 258.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.02517, allocations: 4 kB / 258.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.02534, allocations: 19.98 kB / 258.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.02543, allocations: 11.98 kB / 258.3 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.02546, allocations: 4 kB / 258.3 MB, free: 15.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004001/0.02586, allocations: 209.2 kB / 258.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02586, allocations: 0 / 258.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005195/0.02638, allocations: 43.92 kB / 258.5 MB, free: 15.26 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.00294/0.02932, allocations: 448.9 kB / 259 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004607/0.02978, allocations: 95.89 kB / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02978, allocations: 0 / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.03, allocations: 55.91 kB / 259.1 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.03059, allocations: 48.41 kB / 259.2 MB, free: 14.69 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.03167, allocations: 353.8 kB / 259.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.0319, allocations: 127.8 kB / 259.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.03204, allocations: 25.62 kB / 259.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.03213, allocations: 24.5 kB / 259.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03214, allocations: 0 / 259.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of Templates: time 0.01116/0.04329, allocations: 2.866 MB / 262.6 MB, free: 11.25 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.610902996035293]