Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 99.86 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 145.1 kB / 24.26 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.671e-05, allocations: 6.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003099/0.003126, allocations: 1.6 MB / 268.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.003942, allocations: 430.7 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.003997, allocations: 4 kB / 269.3 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.004031, allocations: 7.922 kB / 269.3 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.004116, allocations: 7.875 kB / 269.3 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.004264, allocations: 23.92 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.004374, allocations: 59.78 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.004536, allocations: 39.84 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.004677, allocations: 39.89 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.004738, allocations: 19.98 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.004763, allocations: 4 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.00478, allocations: 8 kB / 269.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.004807, allocations: 15.92 kB / 269.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.004845, allocations: 23.86 kB / 269.6 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004991, allocations: 67.77 kB / 269.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004993, allocations: 0 / 269.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004993, allocations: 0 / 269.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004998, allocations: 0 / 269.6 MB, free: 4.371 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.0005956/0.005593, allocations: 408 kB / 270 MB, free: 3.938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.005629, allocations: 12.92 kB / 270 MB, free: 3.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.005684, allocations: 16.89 kB / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.005814, allocations: 116.5 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.005836, allocations: 4.375 kB / 270.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.005853, allocations: 8.375 kB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.00611, allocations: 128.2 kB / 270.3 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006119, allocations: 3.938 kB / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.006129, allocations: 0 / 270.3 MB, free: 3.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.006136, allocations: 4 kB / 270.3 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.006309, allocations: 55.91 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.007135, allocations: 0.8156 MB / 271.2 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.007376, allocations: 151.4 kB / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.0075, allocations: 66.53 kB / 271.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.00753, allocations: 3.938 kB / 271.4 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.007569, allocations: 41.39 kB / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.00757, allocations: 0 / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004298/0.008, allocations: 117.5 kB / 271.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.008116, allocations: 162.2 kB / 271.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.008273, allocations: 189.8 kB / 271.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.008294, allocations: 25.7 kB / 271.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.008395, allocations: 150.8 kB / 272.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.008423, allocations: 20.45 kB / 272.1 MB, free: 1.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.008488, allocations: 31.38 kB / 272.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.008757, allocations: 0.5 MB / 272.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.008831, allocations: 12 kB / 272.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.00894, allocations: 66.41 kB / 272.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.00912, allocations: 86.36 kB / 272.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.009122, allocations: 0 / 272.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002167/0.009339, allocations: 89.55 kB / 272.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.009354, allocations: 8 kB / 272.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.009358, allocations: 0 / 272.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.009371, allocations: 0 / 272.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.009466, allocations: 15.98 kB / 272.9 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009471, allocations: 7.938 kB / 272.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.009534, allocations: 12.05 kB / 272.9 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.009543, allocations: 8 kB / 272.9 MB, free: 0.6992 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 0.0001293/0.009672, allocations: 164.6 kB / 273.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.009756, allocations: 7.938 kB / 273.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.009792, allocations: 15.58 kB / 273.1 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.009794, allocations: 0 / 273.1 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.009802, allocations: 8.125 kB / 273.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009805, allocations: 0 / 273.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.01016, allocations: 152.4 kB / 273.3 MB, free: 316 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01016, allocations: 0 / 273.3 MB, free: 316 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.01022, allocations: 11.94 kB / 273.3 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.01023, allocations: 11.98 kB / 273.3 MB, free: 292 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01024, allocations: 4 kB / 273.3 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01024, allocations: 4 kB / 273.3 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01025, allocations: 0 / 273.3 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/0.01084, allocations: 0.6958 MB / 274 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.01086, allocations: 3.953 kB / 274 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01088, allocations: 4 kB / 274 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.01107, allocations: 11.98 kB / 274 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.01113, allocations: 15.92 kB / 274 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.01114, allocations: 4 kB / 274 MB, free: 15.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.01123, allocations: 139.2 kB / 274.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 0 / 274.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000372/0.0116, allocations: 11.95 kB / 274.2 MB, free: 15.37 MB / 266.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 0.0001058/0.01171, allocations: 91.25 kB / 274.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01194, allocations: 67.53 kB / 274.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01195, allocations: 320 / 274.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.858e-05/0.01204, allocations: 39.67 kB / 274.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.01254, allocations: 15.45 kB / 274.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.01301, allocations: 216.5 kB / 274.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01312, allocations: 75.33 kB / 274.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.01317, allocations: 12.3 kB / 274.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.0132, allocations: 8.5 kB / 274.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0132, allocations: 0 / 274.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Templates: time 0.003197/0.0164, allocations: 0.5638 MB / 275.3 MB, free: 14.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.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.412218158948235]