Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.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.001045/0.001045, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.000988/0.000988, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9511/0.9511, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.957e-05, allocations: 6.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001849/0.001869, allocations: 1.651 MB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005238/0.002392, allocations: 0.4906 MB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.002441, allocations: 4 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.00247, allocations: 11.88 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.002535, allocations: 11.86 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.00267, allocations: 27.97 kB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.002761, allocations: 63.77 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.00286, allocations: 32.09 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.002965, allocations: 51.83 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.003005, allocations: 19.97 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.003017, allocations: 4 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.354e-05/0.003051, allocations: 19.92 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.003063, allocations: 4 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.003084, allocations: 19.92 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.128e-05/0.003175, allocations: 63.73 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-06/0.003176, allocations: 0 / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003177, allocations: 0 / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.224e-06/0.003179, allocations: 0 / 275.9 MB, free: 14.8 MB / 266.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.0002566/0.003436, allocations: 292.6 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.58e-05/0.003462, allocations: 8.031 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.003539, allocations: 16.92 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/0.00363, allocations: 117.7 kB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.003643, allocations: 8.375 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.003653, allocations: 8.359 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.003763, allocations: 119.1 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-06/0.003768, allocations: 192 / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.003774, allocations: 384 / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.003779, allocations: 3.938 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.003809, allocations: 27.92 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.004081, allocations: 0.5047 MB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.594e-05/0.004147, allocations: 105 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.004173, allocations: 32.36 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.004184, allocations: 4 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.004201, allocations: 38.5 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.004202, allocations: 0 / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001302/0.004333, allocations: 69.55 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.004381, allocations: 162.2 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.004438, allocations: 127 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004447, allocations: 29.7 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.004476, allocations: 92.08 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.004491, allocations: 19.78 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.004517, allocations: 25.7 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.004581, allocations: 319.4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.004591, allocations: 4 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.004613, allocations: 36.3 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.004653, allocations: 48.22 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.004654, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.568e-05/0.00471, allocations: 65.48 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.004718, allocations: 12.16 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.004721, allocations: 3.938 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.004729, allocations: 0 / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.004774, allocations: 11.98 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.004777, allocations: 4 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.004801, allocations: 7.938 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.004805, allocations: 0 / 278.2 MB, free: 12.23 MB / 266.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.26e-05/0.004858, allocations: 113.8 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.004903, allocations: 11.92 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.598e-05/0.004919, allocations: 11.62 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.004921, allocations: 8 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.004923, allocations: 0 / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004925, allocations: 0 / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.005109, allocations: 89.84 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.005111, allocations: 4 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.005132, allocations: 11.98 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.005133, allocations: 3.938 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.005156, allocations: 4.125 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.00516, allocations: 7.938 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005161, allocations: 0 / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.005308, allocations: 452.7 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.005317, allocations: 11.89 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.005327, allocations: 7.938 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.005481, allocations: 4 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.005508, allocations: 15.92 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.005512, allocations: 0 / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.862e-05/0.00553, allocations: 32.88 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00553, allocations: 0 / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.005732, allocations: 8 kB / 279 MB, free: 11.4 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.0001061/0.005838, allocations: 80.42 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.005964, allocations: 32.78 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.005968, allocations: 0 / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.005994, allocations: 28.78 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.00629, allocations: 7.938 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.006745, allocations: 212.8 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.14e-05/0.006797, allocations: 63.34 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.632e-05/0.006823, allocations: 3.984 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.006867, allocations: 55.38 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.006868, allocations: 0 / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of Templates: time 0.001906/0.008774, allocations: 0.5043 MB / 279.9 MB, free: 10.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.451258015818894]