Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008828/0.0008828, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003457/0.003457, allocations: 164.2 kB / 24.7 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8897/0.8897, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.51e-05, allocations: 8.75 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.00224/0.002265, allocations: 1.832 MB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.00358, allocations: 1.126 MB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.003675, allocations: 4 kB / 328.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.004234, allocations: 175.3 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.004515, allocations: 179.2 kB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.004749, allocations: 143.1 kB / 329.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.004956, allocations: 219.3 kB / 329.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.00506, allocations: 13.78 kB / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.005183, allocations: 115.7 kB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005294, allocations: 87.77 kB / 329.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.005313, allocations: 8 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.00542, allocations: 63.84 kB / 329.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.005486, allocations: 55.83 kB / 329.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.005537, allocations: 39.86 kB / 329.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.005786, allocations: 223.3 kB / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005788, allocations: 0 / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005789, allocations: 0 / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.005794, allocations: 0 / 330.1 MB, free: 11.18 MB / 298.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.0006169/0.00641, allocations: 474.6 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.006447, allocations: 8.031 kB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.006495, allocations: 20.8 kB / 330.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.006727, allocations: 208.9 kB / 330.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006742, allocations: 4.375 kB / 330.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.006754, allocations: 4.375 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.006928, allocations: 113.6 kB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006938, allocations: 7.938 kB / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.006949, allocations: 0 / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.006953, allocations: 0 / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.00705, allocations: 55.91 kB / 330.9 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.007497, allocations: 0.5321 MB / 331.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.007665, allocations: 135.8 kB / 331.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.007722, allocations: 42.56 kB / 331.7 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.007743, allocations: 7.938 kB / 331.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.0079, allocations: 133.8 kB / 331.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.007901, allocations: 0 / 331.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003012/0.008202, allocations: 173.6 kB / 332 MB, free: 9.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.00825, allocations: 106.8 kB / 332.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.008462, allocations: 301.8 kB / 332.4 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.008477, allocations: 29.7 kB / 332.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.008548, allocations: 124.1 kB / 332.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.008578, allocations: 35.73 kB / 332.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.008616, allocations: 29.72 kB / 332.6 MB, free: 8.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003211/0.008937, allocations: 330.8 kB / 332.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.008998, allocations: 31.98 kB / 332.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.009078, allocations: 107.3 kB / 333 MB, free: 7.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.009188, allocations: 112.2 kB / 333.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.00919, allocations: 0 / 333.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001531/0.009343, allocations: 137.5 kB / 333.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.009357, allocations: 8 kB / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009363, allocations: 3.984 kB / 333.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.009375, allocations: 3.938 kB / 333.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.009433, allocations: 16.09 kB / 333.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.00944, allocations: 4 kB / 333.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.009495, allocations: 15.98 kB / 333.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.009503, allocations: 4 kB / 333.3 MB, free: 7.621 MB / 298.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 8.969e-05/0.009592, allocations: 153.6 kB / 333.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.009612, allocations: 23.86 kB / 333.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.009758, allocations: 115.5 kB / 333.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.00976, allocations: 0 / 333.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.009766, allocations: 7.969 kB / 333.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009771, allocations: 8 kB / 333.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.009894, allocations: 177.1 kB / 333.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.009895, allocations: 0 / 333.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.009914, allocations: 16.06 kB / 333.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.009917, allocations: 0 / 333.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.009933, allocations: 15.92 kB / 333.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.009934, allocations: 0 / 333.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009935, allocations: 0 / 333.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.0101, allocations: 186.6 kB / 334 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.01012, allocations: 19.89 kB / 334 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.01014, allocations: 8 kB / 334 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.01019, allocations: 11.98 kB / 334.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.01023, allocations: 15.92 kB / 334.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.01025, allocations: 4 kB / 334.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.01038, allocations: 225.1 kB / 334.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0 / 334.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.01055, allocations: 35.94 kB / 334.3 MB, free: 6.559 MB / 298.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.0006988/0.01125, allocations: 447.2 kB / 334.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.01143, allocations: 91.91 kB / 334.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01143, allocations: 0 / 334.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.0115, allocations: 55.89 kB / 334.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01172, allocations: 62.5 kB / 335 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.01218, allocations: 394.3 kB / 335.4 MB, free: 5.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.774e-05/0.01226, allocations: 123.8 kB / 335.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.0123, allocations: 28.48 kB / 335.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0123, allocations: 0 / 335.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of Templates: time 0.003671/0.01598, allocations: 3.017 MB / 338.5 MB, free: 2.492 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.314642739482224]