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.001722/0.001722, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.00213/0.00213, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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.448/1.448, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 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 0.001453/0.001453, allocations: 51.91 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2512, allocations: 52.14 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002756/0.254, allocations: 1.617 MB / 422.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006983/0.2547, allocations: 438.9 kB / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.2547, allocations: 0 / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.2548, allocations: 7.875 kB / 422.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.2548, allocations: 11.88 kB / 422.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.255, allocations: 23.91 kB / 422.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2551, allocations: 59.77 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2553, allocations: 31.98 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/0.2553, allocations: 35.73 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.2554, allocations: 39.83 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.2554, allocations: 4 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.2554, allocations: 4 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.2555, allocations: 15.94 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.2555, allocations: 27.8 kB / 423.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2556, allocations: 63.58 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2556, allocations: 3.984 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2557, allocations: 0 / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2557, allocations: 0 / 423.2 MB, free: 12.76 MB / 334.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.0005314/0.2562, allocations: 388.6 kB / 423.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2562, allocations: 8.031 kB / 423.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.2563, allocations: 8.891 kB / 423.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2564, allocations: 176.2 kB / 423.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2564, allocations: 8.375 kB / 423.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.2564, allocations: 7.938 kB / 423.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.2567, allocations: 114 kB / 423.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2567, allocations: 3.938 kB / 423.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2567, allocations: 11.94 kB / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.2567, allocations: 0 / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2569, allocations: 55.89 kB / 424 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.2576, allocations: 0.6458 MB / 424.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.2577, allocations: 109 kB / 424.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.2579, allocations: 64.33 kB / 424.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2579, allocations: 0 / 424.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2579, allocations: 38.56 kB / 424.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.2579, allocations: 0 / 424.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004305/0.2583, allocations: 129.9 kB / 425 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.2584, allocations: 162.3 kB / 425.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2585, allocations: 121.8 kB / 425.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2586, allocations: 25.7 kB / 425.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.2586, allocations: 96.09 kB / 425.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2587, allocations: 23.78 kB / 425.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2587, allocations: 17.72 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2588, allocations: 322.8 kB / 425.7 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.2589, allocations: 23.98 kB / 425.7 MB, free: 9.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-05/0.259, allocations: 44.28 kB / 425.8 MB, free: 9.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.2592, allocations: 88.14 kB / 425.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2592, allocations: 0 / 425.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002233/0.2594, allocations: 89.72 kB / 426 MB, free: 9.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2594, allocations: 8.156 kB / 426 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2595, allocations: 7.984 kB / 426 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2595, allocations: 11.88 kB / 426 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2596, allocations: 15.94 kB / 426 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2596, allocations: 0 / 426 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.2597, allocations: 15.94 kB / 426 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.2597, allocations: 0 / 426 MB, free: 9.609 MB / 334.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 0.0001039/0.2598, allocations: 121.8 kB / 426.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.2599, allocations: 8 kB / 426.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.2599, allocations: 15.45 kB / 426.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2599, allocations: 7.938 kB / 426.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2599, allocations: 0 / 426.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2599, allocations: 0 / 426.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.2603, allocations: 189.6 kB / 426.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2603, allocations: 0 / 426.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.2604, allocations: 19.92 kB / 426.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2604, allocations: 0 / 426.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2604, allocations: 4 kB / 426.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.2604, allocations: 3.938 kB / 426.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2604, allocations: 4 kB / 426.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.2608, allocations: 488.6 kB / 426.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.2608, allocations: 81.06 kB / 426.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.2609, allocations: 11.94 kB / 426.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2611, allocations: 11.92 kB / 427 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.2611, allocations: 7.984 kB / 427 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.2611, allocations: 4 kB / 427 MB, free: 8.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.924e-05/0.2612, allocations: 95.27 kB / 427.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2612, allocations: 0 / 427.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.2616, allocations: 11.94 kB / 427.1 MB, free: 8.445 MB / 334.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 0.0001163/0.2617, allocations: 99.25 kB / 427.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.2619, allocations: 55.91 kB / 427.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2619, allocations: 3.938 kB / 427.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.262, allocations: 36.53 kB / 427.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.2625, allocations: 4 kB / 427.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.263, allocations: 210.4 kB / 427.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.2634, allocations: 0.6962 MB / 428.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.2634, allocations: 7.938 kB / 428.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2634, allocations: 11.42 kB / 428.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2634, allocations: 4 kB / 428.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of Templates: time 0.003038/0.2665, allocations: 0.56 MB / 428.8 MB, free: 6.691 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] 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.565440710633993]