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.001163/0.001163, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.001512/0.001512, allocations: 157.1 kB / 25.44 MB, free: 8.855 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.9969/0.9969, allocations: 158.6 MB / 187.2 MB, free: 3.039 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.353e-06/1.353e-06, allocations: 0 / 299.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.89e-05, allocations: 2.281 kB / 299.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002125/0.002144, allocations: 1.775 MB / 301.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003176, allocations: 0.9243 MB / 302.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.003265, allocations: 0 / 302.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.003801, allocations: 171.5 kB / 302.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.004027, allocations: 143.3 kB / 302.7 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.004312, allocations: 151.5 kB / 302.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.004502, allocations: 203.4 kB / 303 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.004593, allocations: 17.8 kB / 303.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.004713, allocations: 111.7 kB / 303.2 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.819e-05/0.004811, allocations: 83.78 kB / 303.2 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.00483, allocations: 8 kB / 303.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.004931, allocations: 59.89 kB / 303.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.00527, allocations: 47.84 kB / 303.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.00532, allocations: 43.84 kB / 303.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.005558, allocations: 227.2 kB / 303.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.00556, allocations: 0 / 303.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005561, allocations: 0 / 303.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005565, allocations: 0 / 303.6 MB, free: 2.984 MB / 282.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.0006267/0.006191, allocations: 470.7 kB / 304.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.006227, allocations: 19.92 kB / 304.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.006274, allocations: 20.8 kB / 304.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.006497, allocations: 204.8 kB / 304.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.006511, allocations: 384 / 304.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.006525, allocations: 12.38 kB / 304.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.006691, allocations: 109.6 kB / 304.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.006703, allocations: 3.938 kB / 304.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006714, allocations: 0 / 304.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.006719, allocations: 4 kB / 304.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.503e-05/0.006814, allocations: 55.91 kB / 304.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.007314, allocations: 0.5321 MB / 305 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.007502, allocations: 127.8 kB / 305.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.007565, allocations: 46.55 kB / 305.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.007597, allocations: 4 kB / 305.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.007765, allocations: 121.9 kB / 305.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 9.31e-07/0.007766, allocations: 4 kB / 305.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003326/0.008098, allocations: 185.4 kB / 305.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.008153, allocations: 106.8 kB / 305.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.008357, allocations: 285.8 kB / 305.9 MB, free: 500 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.008371, allocations: 29.7 kB / 305.9 MB, free: 464 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.008436, allocations: 124.1 kB / 306 MB, free: 336 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.008464, allocations: 31.78 kB / 306.1 MB, free: 304 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.008502, allocations: 29.7 kB / 306.1 MB, free: 268 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.008602, allocations: 334.8 kB / 306.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.008653, allocations: 32.11 kB / 306.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.008729, allocations: 106.8 kB / 306.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.008835, allocations: 100.1 kB / 306.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008837, allocations: 0 / 306.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001535/0.00899, allocations: 149.4 kB / 306.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.009002, allocations: 8.125 kB / 306.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.009006, allocations: 3.938 kB / 306.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.009019, allocations: 4 kB / 306.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.009074, allocations: 12.62 kB / 306.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.00908, allocations: 3.938 kB / 306.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.009132, allocations: 15.92 kB / 306.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.00914, allocations: 8 kB / 306.9 MB, free: 15.45 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.564e-05/0.009226, allocations: 153.5 kB / 307 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.009244, allocations: 19.86 kB / 307 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.009389, allocations: 131.4 kB / 307.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009392, allocations: 3.984 kB / 307.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009397, allocations: 4 kB / 307.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.009401, allocations: 0 / 307.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.009529, allocations: 177.1 kB / 307.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009531, allocations: 0 / 307.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.009548, allocations: 8 kB / 307.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.00955, allocations: 0 / 307.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.00956, allocations: 8 kB / 307.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.009562, allocations: 3.984 kB / 307.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009562, allocations: 0 / 307.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.009727, allocations: 186.6 kB / 307.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.009748, allocations: 23.8 kB / 307.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.009769, allocations: 7.984 kB / 307.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.219e-05/0.009811, allocations: 11.98 kB / 307.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.009855, allocations: 11.98 kB / 307.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.009866, allocations: 4 kB / 307.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.00999, allocations: 213.2 kB / 307.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00999, allocations: 4 kB / 307.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.01016, allocations: 31.98 kB / 307.8 MB, free: 14.4 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.0006526/0.01081, allocations: 453.4 kB / 308.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.01098, allocations: 87.89 kB / 308.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01098, allocations: 4 kB / 308.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.01105, allocations: 55.91 kB / 308.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01127, allocations: 56.58 kB / 308.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.01173, allocations: 377.6 kB / 308.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.01181, allocations: 119.5 kB / 309 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.01185, allocations: 24.5 kB / 309 MB, free: 13.18 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01185, allocations: 0 / 309 MB, free: 13.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003548/0.0154, allocations: 2.963 MB / 312 MB, free: 10.22 MB / 298.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.756940151564777]