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.0009861/0.0009861, allocations: 81.08 kB / 22.99 MB, free: 1.496 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.001054/0.001054, allocations: 176.8 kB / 26.4 MB, free: 8.133 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 0.9561/0.9561, allocations: 158.6 MB / 188.3 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.829e-05, allocations: 2.312 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002512/0.00253, allocations: 1.853 MB / 254.1 MB, free: 5.395 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.003901, allocations: 0.9321 MB / 255 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.004, allocations: 0 / 255 MB, free: 4.453 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.004561, allocations: 179.3 kB / 255.2 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.004814, allocations: 135.4 kB / 255.3 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.005138, allocations: 147.5 kB / 255.5 MB, free: 4 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.005365, allocations: 207.4 kB / 255.7 MB, free: 3.797 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005473, allocations: 17.78 kB / 255.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.005626, allocations: 111.7 kB / 255.8 MB, free: 3.672 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005737, allocations: 79.78 kB / 255.9 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.005759, allocations: 12 kB / 255.9 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.005883, allocations: 63.84 kB / 256 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.005953, allocations: 47.83 kB / 256 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.006001, allocations: 47.84 kB / 256 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.006215, allocations: 167.4 kB / 256.2 MB, free: 3.262 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006217, allocations: 3.938 kB / 256.2 MB, free: 3.258 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006217, allocations: 4 kB / 256.2 MB, free: 3.254 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.006222, allocations: 0 / 256.2 MB, free: 3.254 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.0006009/0.006823, allocations: 0.5438 MB / 256.8 MB, free: 2.668 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.006859, allocations: 15.98 kB / 256.8 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.006909, allocations: 20.8 kB / 256.8 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.00712, allocations: 216.4 kB / 257 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.00714, allocations: 4.375 kB / 257 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.007154, allocations: 8.375 kB / 257 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.007306, allocations: 112.5 kB / 257.1 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.007316, allocations: 3.938 kB / 257.1 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.007325, allocations: 0 / 257.1 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.007331, allocations: 4 kB / 257.1 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.007372, allocations: 19.92 kB / 257.2 MB, free: 2.223 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.007789, allocations: 0.6845 MB / 257.8 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.007912, allocations: 121.4 kB / 258 MB, free: 1.336 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.007949, allocations: 38.98 kB / 258 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.007965, allocations: 11.94 kB / 258 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.008095, allocations: 116 kB / 258.1 MB, free: 1.133 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.008096, allocations: 0 / 258.1 MB, free: 1.133 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002305/0.008326, allocations: 125.5 kB / 258.2 MB, free: 1.004 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.008374, allocations: 110.9 kB / 258.4 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.008544, allocations: 288.2 kB / 258.6 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.008561, allocations: 33.7 kB / 258.7 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.00864, allocations: 174.8 kB / 258.8 MB, free: 368 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.008668, allocations: 31.77 kB / 258.9 MB, free: 336 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.00871, allocations: 39.3 kB / 258.9 MB, free: 288 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.008859, allocations: 0.5079 MB / 259.4 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.008882, allocations: 11.98 kB / 259.4 MB, free: 15.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.008945, allocations: 99.45 kB / 259.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.105e-05/0.009027, allocations: 86.88 kB / 259.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.009028, allocations: 0 / 259.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001294/0.009158, allocations: 117.4 kB / 259.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.009171, allocations: 7.984 kB / 259.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.009176, allocations: 4 kB / 259.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.098e-06/0.009185, allocations: 0 / 259.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.009244, allocations: 12 kB / 259.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.009249, allocations: 7.938 kB / 259.8 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.009306, allocations: 24.03 kB / 259.8 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.009311, allocations: 0 / 259.8 MB, free: 15.34 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 7.913e-05/0.009391, allocations: 164.6 kB / 259.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.009417, allocations: 27.84 kB / 260 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.009535, allocations: 91.38 kB / 260.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.009538, allocations: 4 kB / 260.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.00954, allocations: 0 / 260.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009544, allocations: 3.938 kB / 260.1 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.00968, allocations: 161.1 kB / 260.2 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009681, allocations: 0 / 260.2 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.009701, allocations: 12 kB / 260.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.009703, allocations: 3.938 kB / 260.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.00971, allocations: 3.984 kB / 260.2 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.009713, allocations: 4 kB / 260.2 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.009714, allocations: 128 / 260.2 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.009856, allocations: 175.6 kB / 260.4 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.009881, allocations: 23.84 kB / 260.4 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.009902, allocations: 7.938 kB / 260.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.009945, allocations: 11.98 kB / 260.5 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.009981, allocations: 11.98 kB / 260.5 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.009992, allocations: 8 kB / 260.5 MB, free: 14.56 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.963e-05/0.01009, allocations: 197.1 kB / 260.7 MB, free: 14.38 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01009, allocations: 0 / 260.7 MB, free: 14.38 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.01028, allocations: 43.92 kB / 260.7 MB, free: 14.33 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.0007822/0.01106, allocations: 391.7 kB / 261.1 MB, free: 13.99 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.0112, allocations: 59.59 kB / 261.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0112, allocations: 0 / 261.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.01126, allocations: 43.59 kB / 261.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.01148, allocations: 52.55 kB / 261.2 MB, free: 13.83 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.01187, allocations: 325.3 kB / 261.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.01192, allocations: 79.97 kB / 261.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.01197, allocations: 25.47 kB / 261.7 MB, free: 13.35 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.634e-05/0.01206, allocations: 102.2 kB / 261.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01207, allocations: 3.938 kB / 261.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of Templates: time 0.004687/0.01675, allocations: 3.191 MB / 265 MB, free: 10.05 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.69968548277393]