Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001669/0.001669, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001616/0.001616, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 71.83 kB / 374.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09322, allocations: 53.32 MB / 428 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002687/0.09591, allocations: 1.62 MB / 429.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.09667, allocations: 0.4909 MB / 430.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.09674, allocations: 4 kB / 430.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.09678, allocations: 3.938 kB / 430.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.09686, allocations: 19.8 kB / 430.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.09703, allocations: 31.97 kB / 430.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.09716, allocations: 67.77 kB / 430.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.0973, allocations: 32.16 kB / 430.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.09742, allocations: 31.86 kB / 430.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.0975, allocations: 39.77 kB / 430.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.09751, allocations: 4 kB / 430.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.09755, allocations: 8 kB / 430.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.09757, allocations: 7.938 kB / 430.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.09761, allocations: 39.8 kB / 430.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.09775, allocations: 75.58 kB / 430.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09775, allocations: 4 kB / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09775, allocations: 0 / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.09776, allocations: 0 / 430.5 MB, free: 1.848 MB / 350.1 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.0004823/0.09824, allocations: 379.2 kB / 430.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.09827, allocations: 8.031 kB / 430.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.09841, allocations: 20.83 kB / 430.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.0986, allocations: 196.2 kB / 431.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.09862, allocations: 8.375 kB / 431.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.09864, allocations: 4.375 kB / 431.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.09887, allocations: 117.1 kB / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.09888, allocations: 0 / 431.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.09889, allocations: 4 kB / 431.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.0989, allocations: 4 kB / 431.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.09908, allocations: 59.83 kB / 431.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.0997, allocations: 0.642 MB / 431.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.09988, allocations: 109.1 kB / 432 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.09999, allocations: 60.28 kB / 432.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1, allocations: 3.984 kB / 432.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1653/0.2653, allocations: 35.59 kB / 432.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.2653, allocations: 0.9688 kB / 432.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004952/0.2658, allocations: 121.4 kB / 432.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2658, allocations: 161.9 kB / 432.4 MB, free: 11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.2659, allocations: 122.8 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.2659, allocations: 32.02 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.266, allocations: 94.55 kB / 432.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.266, allocations: 18.17 kB / 432.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.266, allocations: 24 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.2661, allocations: 321 kB / 433 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.2662, allocations: 20.8 kB / 433 MB, free: 10.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.2662, allocations: 49.06 kB / 433.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2664, allocations: 81.69 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2664, allocations: 3.875 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002083/0.2666, allocations: 92.56 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2666, allocations: 5.438 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2666, allocations: 1.906 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2666, allocations: 7.766 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.2667, allocations: 14.94 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2667, allocations: 3.281 kB / 433.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.2668, allocations: 15.59 kB / 433.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2668, allocations: 6.938 kB / 433.3 MB, free: 10.34 MB / 350.1 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.644e-05/0.2669, allocations: 113.8 kB / 433.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.267, allocations: 7.625 kB / 433.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.267, allocations: 11.89 kB / 433.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.267, allocations: 3.938 kB / 433.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.267, allocations: 1.531 kB / 433.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.267, allocations: 5.406 kB / 433.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.2673, allocations: 194.3 kB / 433.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2673, allocations: 1.281 kB / 433.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.2674, allocations: 14.44 kB / 433.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2674, allocations: 4.562 kB / 433.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2674, allocations: 1.406 kB / 433.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2674, allocations: 1.656 kB / 433.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2674, allocations: 1 kB / 433.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.2677, allocations: 498.2 kB / 434.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.2677, allocations: 85.64 kB / 434.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2677, allocations: 4.406 kB / 434.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2679, allocations: 9.953 kB / 434.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.2679, allocations: 9.969 kB / 434.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.268, allocations: 2.656 kB / 434.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.268, allocations: 97.22 kB / 434.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.268, allocations: 0.5625 kB / 434.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.2684, allocations: 16.38 kB / 434.4 MB, free: 9.418 MB / 350.1 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.003e-05/0.2684, allocations: 103.2 kB / 434.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2686, allocations: 58.77 kB / 434.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2686, allocations: 0 / 434.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.2687, allocations: 40.09 kB / 434.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.2692, allocations: 11.91 kB / 434.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.2696, allocations: 216.6 kB / 434.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2697, allocations: 0.6969 MB / 435.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.2697, allocations: 10.91 kB / 435.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2697, allocations: 0 / 435.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of Templates: time 0.00216/0.2719, allocations: 0.9023 MB / 436.4 MB, free: 8.398 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.3219110800419]