Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.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.001043/0.001043, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002446, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001046/0.001046, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.002124, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9724/0.9724, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09149/1.064, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.811e-05, allocations: 5.828 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003743/0.003771, allocations: 1.698 MB / 246.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.004777, allocations: 494.6 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.004855, allocations: 0 / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.004891, allocations: 11.86 kB / 247.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.487e-05/0.004946, allocations: 15.86 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.005065, allocations: 27.91 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.005175, allocations: 59.78 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.005319, allocations: 44.02 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.005474, allocations: 51.89 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.00553, allocations: 27.91 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.005546, allocations: 8 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.719e-05/0.005603, allocations: 8 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.005617, allocations: 7.938 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.00564, allocations: 15.94 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.005776, allocations: 51.77 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-05/0.005791, allocations: 0 / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005792, allocations: 0 / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.00581, allocations: 0 / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003773/0.006187, allocations: 296.3 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.006218, allocations: 12.62 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.00636, allocations: 98.03 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.006494, allocations: 125.6 kB / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.006513, allocations: 4.375 kB / 248 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.006522, allocations: 8.375 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.006642, allocations: 107.1 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.006649, allocations: 4.188 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.006658, allocations: 4.375 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006664, allocations: 3.938 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.006699, allocations: 27.92 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.007004, allocations: 0.5087 MB / 248.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.315e-05/0.007087, allocations: 101 kB / 248.8 MB, free: 9.672 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.007115, allocations: 36.28 kB / 248.8 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.007128, allocations: 4 kB / 248.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.007149, allocations: 46.44 kB / 248.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.00715, allocations: 0 / 248.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001486/0.007299, allocations: 69.55 kB / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.007358, allocations: 158.2 kB / 249.1 MB, free: 9.297 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.00742, allocations: 118.7 kB / 249.2 MB, free: 9.168 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.007429, allocations: 29.7 kB / 249.3 MB, free: 9.133 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.007461, allocations: 96.08 kB / 249.4 MB, free: 9.035 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.007479, allocations: 15.84 kB / 249.4 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.007508, allocations: 29.69 kB / 249.4 MB, free: 8.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.007579, allocations: 310.8 kB / 249.7 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.00759, allocations: 8.562 kB / 249.7 MB, free: 8.664 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.007616, allocations: 48.27 kB / 249.8 MB, free: 8.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.007656, allocations: 44.22 kB / 249.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007658, allocations: 0 / 249.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.585e-05/0.007714, allocations: 65.5 kB / 249.9 MB, free: 8.473 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007724, allocations: 4.156 kB / 249.9 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.00773, allocations: 11.98 kB / 249.9 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.007737, allocations: 0 / 249.9 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.007795, allocations: 11.98 kB / 249.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.007797, allocations: 4 kB / 249.9 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.007824, allocations: 11.92 kB / 249.9 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007829, allocations: 4 kB / 249.9 MB, free: 8.426 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: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.246e-05/0.007882, allocations: 109.8 kB / 250 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.007927, allocations: 15.88 kB / 250 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.00795, allocations: 15.59 kB / 250 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.007953, allocations: 8 kB / 250.1 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007954, allocations: 0 / 250.1 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007958, allocations: 4 kB / 250.1 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.008135, allocations: 81.86 kB / 250.1 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008136, allocations: 0 / 250.1 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.00816, allocations: 8 kB / 250.1 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.008169, allocations: 19.81 kB / 250.2 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008171, allocations: 4 kB / 250.2 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.008177, allocations: 4 kB / 250.2 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008178, allocations: 0 / 250.2 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008179, allocations: 4 kB / 250.2 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.008312, allocations: 452.6 kB / 250.6 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.008323, allocations: 7.938 kB / 250.6 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.008424, allocations: 4 kB / 250.6 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.008455, allocations: 7.984 kB / 250.6 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008459, allocations: 8.188 kB / 250.6 MB, free: 7.645 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.43e-05/0.008473, allocations: 20.83 kB / 250.7 MB, free: 7.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008473, allocations: 0 / 250.7 MB, free: 7.621 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000253/0.008726, allocations: 8 kB / 250.7 MB, free: 7.613 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 7.007e-05/0.008796, allocations: 88.3 kB / 250.8 MB, free: 7.516 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.162e-05/0.008868, allocations: 32.78 kB / 250.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.008874, allocations: 4 kB / 250.8 MB, free: 7.477 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.008896, allocations: 16.8 kB / 250.8 MB, free: 7.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.009166, allocations: 20.69 kB / 250.8 MB, free: 7.438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.009801, allocations: 220.9 kB / 251.1 MB, free: 7.184 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.826e-05/0.009849, allocations: 63.34 kB / 251.1 MB, free: 7.102 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.009869, allocations: 0 / 251.1 MB, free: 7.102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.009904, allocations: 51.38 kB / 251.2 MB, free: 7.051 MB / 250.7 MB Notification: Performance of SimCode: time 6.12e-07/0.009905, allocations: 0 / 251.2 MB, free: 7.051 MB / 250.7 MB Notification: Performance of Templates: time 0.0019/0.0118, allocations: 0.5148 MB / 251.7 MB, free: 6.539 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.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.4195757377892733]