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.001206/0.001206, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001936/0.003142, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0011/0.0011, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.002196, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9514/0.9514, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1539/1.105, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.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.232e-06/1.232e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.095e-05, allocations: 6.25 kB / 221.8 MB, free: 188 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002842/0.002863, allocations: 1.893 MB / 223.7 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.004301, allocations: 0.9553 MB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.004416, allocations: 7.938 kB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.004859, allocations: 167.4 kB / 224.8 MB, free: 13.13 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.005122, allocations: 143.3 kB / 225 MB, free: 12.99 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.0055, allocations: 147.5 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.005758, allocations: 207.3 kB / 225.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.543e-05/0.005833, allocations: 14.47 kB / 225.3 MB, free: 12.63 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.006033, allocations: 144.6 kB / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006149, allocations: 83.72 kB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.006172, allocations: 8 kB / 225.6 MB, free: 12.4 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.006319, allocations: 63.89 kB / 225.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.006388, allocations: 39.86 kB / 225.7 MB, free: 12.3 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.006439, allocations: 31.88 kB / 225.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.006681, allocations: 167.3 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.006697, allocations: 0 / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006698, allocations: 0 / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.006714, allocations: 0 / 225.9 MB, free: 12.11 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.0006812/0.007395, allocations: 457 kB / 226.3 MB, free: 11.63 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.007429, allocations: 8.031 kB / 226.3 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.007478, allocations: 20.91 kB / 226.4 MB, free: 11.6 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.007703, allocations: 185.6 kB / 226.5 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.007723, allocations: 8.375 kB / 226.5 MB, free: 11.38 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.007736, allocations: 8.375 kB / 226.5 MB, free: 11.38 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.007887, allocations: 96.45 kB / 226.6 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007896, allocations: 3.938 kB / 226.6 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.007905, allocations: 4 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007911, allocations: 3.938 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.007963, allocations: 22.75 kB / 226.7 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.008365, allocations: 454.3 kB / 227.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.008509, allocations: 138.6 kB / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.008545, allocations: 30.58 kB / 227.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.008567, allocations: 7.938 kB / 227.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.00871, allocations: 104.7 kB / 227.4 MB, free: 10.42 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.008711, allocations: 0 / 227.4 MB, free: 10.42 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001766/0.008888, allocations: 96.42 kB / 227.5 MB, free: 10.32 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.008938, allocations: 102.8 kB / 227.6 MB, free: 10.19 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.009122, allocations: 242.6 kB / 227.8 MB, free: 9.941 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.00914, allocations: 33.77 kB / 227.9 MB, free: 9.902 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.009191, allocations: 104.6 kB / 228 MB, free: 9.793 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.009225, allocations: 31.72 kB / 228 MB, free: 9.762 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.009278, allocations: 33.7 kB / 228 MB, free: 9.723 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.009368, allocations: 330.8 kB / 228.3 MB, free: 9.391 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.009396, allocations: 14.83 kB / 228.4 MB, free: 9.375 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.009456, allocations: 82.77 kB / 228.4 MB, free: 9.27 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.832e-05/0.009535, allocations: 73.84 kB / 228.5 MB, free: 9.18 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009537, allocations: 4.031 kB / 228.5 MB, free: 9.176 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001267/0.009664, allocations: 100.8 kB / 228.6 MB, free: 9.07 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.009676, allocations: 4 kB / 228.6 MB, free: 9.066 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009681, allocations: 128 / 228.6 MB, free: 9.066 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.009693, allocations: 11.98 kB / 228.6 MB, free: 9.055 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.00977, allocations: 16 kB / 228.6 MB, free: 9.039 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.009775, allocations: 3.938 kB / 228.7 MB, free: 9.035 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.009841, allocations: 15.98 kB / 228.7 MB, free: 9.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.009849, allocations: 4 kB / 228.7 MB, free: 9.016 MB / 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 8.429e-05/0.009933, allocations: 132.5 kB / 228.8 MB, free: 8.875 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.009962, allocations: 23.92 kB / 228.8 MB, free: 8.852 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.01008, allocations: 79.36 kB / 228.9 MB, free: 8.77 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01008, allocations: 4 kB / 228.9 MB, free: 8.766 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01008, allocations: 0 / 228.9 MB, free: 8.766 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01009, allocations: 0 / 228.9 MB, free: 8.766 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01023, allocations: 121.7 kB / 229 MB, free: 8.629 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01023, allocations: 0 / 229 MB, free: 8.629 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.01026, allocations: 8 kB / 229 MB, free: 8.621 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.01029, allocations: 19.84 kB / 229.1 MB, free: 8.602 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01029, allocations: 4 kB / 229.1 MB, free: 8.598 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.0103, allocations: 0 / 229.1 MB, free: 8.598 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.0103, allocations: 7.984 kB / 229.1 MB, free: 8.59 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.0103, allocations: 0 / 229.1 MB, free: 8.59 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.01043, allocations: 128.4 kB / 229.2 MB, free: 8.438 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.01046, allocations: 7.938 kB / 229.2 MB, free: 8.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.01051, allocations: 11.98 kB / 229.2 MB, free: 8.418 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.01055, allocations: 11.98 kB / 229.2 MB, free: 8.406 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.01057, allocations: 7.984 kB / 229.2 MB, free: 8.398 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.01065, allocations: 81.61 kB / 229.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01065, allocations: 4 kB / 229.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.01086, allocations: 39.94 kB / 229.4 MB, free: 8.277 MB / 234.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.001429/0.01229, allocations: 0.5666 MB / 229.9 MB, free: 7.746 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.01243, allocations: 56.78 kB / 230 MB, free: 7.688 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.01244, allocations: 0 / 230 MB, free: 7.688 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.01249, allocations: 40.95 kB / 230 MB, free: 7.645 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01271, allocations: 72.41 kB / 230.1 MB, free: 7.574 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.01332, allocations: 323.3 kB / 230.4 MB, free: 7.227 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.421e-05/0.01338, allocations: 83.97 kB / 230.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.484e-05/0.01344, allocations: 21.62 kB / 230.5 MB, free: 7.105 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.01354, allocations: 79.36 kB / 230.6 MB, free: 7.027 MB / 234.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01354, allocations: 0 / 230.6 MB, free: 7.027 MB / 234.7 MB Notification: Performance of Templates: time 0.005904/0.01945, allocations: 3.093 MB / 233.7 MB, free: 3.93 MB / 234.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 -ignoreHideResult -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.7654761783778667]