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.001317/0.001317, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006219/0.006219, allocations: 157.3 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8634/0.8634, allocations: 177 MB / 204.9 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.705e-05, allocations: 3.125 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002194/0.002221, allocations: 1.817 MB / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003492, allocations: 1.133 MB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.003588, allocations: 7.938 kB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.004114, allocations: 163.5 kB / 328.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.004417, allocations: 183.1 kB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.004699, allocations: 143 kB / 329.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.004916, allocations: 219.3 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.005022, allocations: 13.8 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.005145, allocations: 115.7 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.005256, allocations: 83.78 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.005276, allocations: 8 kB / 329.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.005388, allocations: 75.81 kB / 329.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.005455, allocations: 51.83 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.005508, allocations: 39.86 kB / 329.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.005773, allocations: 223.3 kB / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005776, allocations: 0 / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005777, allocations: 0 / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.005787, allocations: 0 / 330 MB, free: 11.13 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.0006643/0.006451, allocations: 470.7 kB / 330.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.006488, allocations: 11.98 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.006807, allocations: 24.8 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.007015, allocations: 204.8 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.007029, allocations: 8.375 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.00704, allocations: 4.375 kB / 330.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.007197, allocations: 113.6 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.007204, allocations: 192 / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.007213, allocations: 8.312 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.007219, allocations: 7.938 kB / 330.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.007309, allocations: 51.91 kB / 330.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.007727, allocations: 0.5322 MB / 331.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.007895, allocations: 127.9 kB / 331.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.007952, allocations: 46.5 kB / 331.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.007974, allocations: 7.938 kB / 331.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.008126, allocations: 126 kB / 331.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.008127, allocations: 0 / 331.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002905/0.008418, allocations: 185.4 kB / 331.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.008466, allocations: 102.8 kB / 332 MB, free: 8.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.00867, allocations: 301.8 kB / 332.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.008684, allocations: 29.7 kB / 332.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.008754, allocations: 124.1 kB / 332.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.008782, allocations: 31.73 kB / 332.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.008821, allocations: 37.66 kB / 332.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.008911, allocations: 330.8 kB / 332.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.008966, allocations: 27.98 kB / 332.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.009043, allocations: 113.8 kB / 333 MB, free: 7.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.009147, allocations: 96.2 kB / 333.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009149, allocations: 4 kB / 333.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001541/0.009304, allocations: 149.9 kB / 333.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.009317, allocations: 4 kB / 333.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009322, allocations: 4 kB / 333.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.009333, allocations: 4.125 kB / 333.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.009394, allocations: 19.92 kB / 333.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.0094, allocations: 4 kB / 333.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.009454, allocations: 15.98 kB / 333.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.009461, allocations: 7.938 kB / 333.3 MB, free: 7.566 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.647e-05/0.009548, allocations: 141.8 kB / 333.4 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.009569, allocations: 27.8 kB / 333.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.009723, allocations: 119.4 kB / 333.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009725, allocations: 8 kB / 333.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.009729, allocations: 0 / 333.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.009736, allocations: 7.984 kB / 333.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.00986, allocations: 173.2 kB / 333.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009861, allocations: 0 / 333.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.009878, allocations: 8 kB / 333.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009881, allocations: 3.938 kB / 333.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.009889, allocations: 4 kB / 333.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.009892, allocations: 4.062 kB / 333.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.009895, allocations: 7.922 kB / 333.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.01007, allocations: 186.7 kB / 334 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.01009, allocations: 23.84 kB / 334 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01011, allocations: 3.984 kB / 334 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.01015, allocations: 15.98 kB / 334 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.0102, allocations: 11.98 kB / 334 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.01021, allocations: 4 kB / 334 MB, free: 6.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.01035, allocations: 221.2 kB / 334.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01035, allocations: 0 / 334.2 MB, free: 6.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.01052, allocations: 35.94 kB / 334.3 MB, free: 6.516 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.0007042/0.01122, allocations: 451.2 kB / 334.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.0114, allocations: 91.89 kB / 334.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.0114, allocations: 0 / 334.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.01148, allocations: 55.91 kB / 334.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01172, allocations: 52.72 kB / 334.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.01218, allocations: 390 kB / 335.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.01226, allocations: 123.6 kB / 335.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.0123, allocations: 20.5 kB / 335.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0123, allocations: 0 / 335.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of Templates: time 0.003824/0.01613, allocations: 3.033 MB / 338.5 MB, free: 2.41 MB / 298.7 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.601309034973383]