Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001037/0.001037, allocations: 80.8 kB / 22.28 MB, free: 2.203 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.000992/0.000992, allocations: 171.3 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9582/0.9582, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.385e-05, allocations: 6.25 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002663/0.002687, allocations: 1.671 MB / 253.2 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005769/0.003264, allocations: 467.6 kB / 253.7 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.00331, allocations: 4 kB / 253.7 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.003346, allocations: 15.86 kB / 253.7 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.003429, allocations: 11.81 kB / 253.7 MB, free: 5.039 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.00356, allocations: 19.97 kB / 253.7 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.463e-05/0.003635, allocations: 63.78 kB / 253.8 MB, free: 4.957 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.003756, allocations: 39.89 kB / 253.8 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.003862, allocations: 35.91 kB / 253.9 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.003917, allocations: 19.92 kB / 253.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.003934, allocations: 4 kB / 253.9 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.003942, allocations: 8 kB / 253.9 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.003963, allocations: 19.91 kB / 253.9 MB, free: 4.832 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.003983, allocations: 15.94 kB / 253.9 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/0.004083, allocations: 51.75 kB / 254 MB, free: 4.766 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004085, allocations: 0 / 254 MB, free: 4.766 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004086, allocations: 0 / 254 MB, free: 4.766 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004091, allocations: 4 kB / 254 MB, free: 4.762 MB / 234.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.0003233/0.004414, allocations: 280.7 kB / 254.3 MB, free: 4.465 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.004445, allocations: 8.031 kB / 254.3 MB, free: 4.457 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.004474, allocations: 8.938 kB / 254.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.004582, allocations: 125.6 kB / 254.4 MB, free: 4.301 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.0046, allocations: 4.375 kB / 254.4 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.004608, allocations: 4.375 kB / 254.4 MB, free: 4.293 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.004736, allocations: 114 kB / 254.5 MB, free: 4.16 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004744, allocations: 192 / 254.5 MB, free: 4.16 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004753, allocations: 12.36 kB / 254.5 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.004761, allocations: 7.938 kB / 254.5 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.004792, allocations: 19.92 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.005117, allocations: 0.5087 MB / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.005199, allocations: 104.8 kB / 255.2 MB, free: 3.434 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.005232, allocations: 32.48 kB / 255.2 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.005247, allocations: 4 kB / 255.2 MB, free: 3.383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.005272, allocations: 46.48 kB / 255.3 MB, free: 3.328 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.005274, allocations: 4 kB / 255.3 MB, free: 3.324 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001665/0.00544, allocations: 57.56 kB / 255.3 MB, free: 3.262 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.005495, allocations: 158.2 kB / 255.5 MB, free: 3.07 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.005561, allocations: 126.7 kB / 255.6 MB, free: 2.934 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.005571, allocations: 29.64 kB / 255.6 MB, free: 2.898 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.005604, allocations: 92.03 kB / 255.7 MB, free: 2.805 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.005625, allocations: 23.88 kB / 255.7 MB, free: 2.781 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.005649, allocations: 14.34 kB / 255.7 MB, free: 2.762 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.005718, allocations: 326.8 kB / 256.1 MB, free: 2.434 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.00573, allocations: 4 kB / 256.1 MB, free: 2.43 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.005755, allocations: 36.23 kB / 256.1 MB, free: 2.379 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.0058, allocations: 52.2 kB / 256.2 MB, free: 2.312 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005802, allocations: 0 / 256.2 MB, free: 2.312 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.596e-05/0.005868, allocations: 69.55 kB / 256.2 MB, free: 2.238 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.00588, allocations: 4 kB / 256.2 MB, free: 2.234 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005884, allocations: 0 / 256.2 MB, free: 2.234 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.005898, allocations: 4 kB / 256.2 MB, free: 2.23 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.005962, allocations: 15.98 kB / 256.2 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.005964, allocations: 0 / 256.2 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.005991, allocations: 4 kB / 256.3 MB, free: 2.211 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.005997, allocations: 4 kB / 256.3 MB, free: 2.207 MB / 234.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.609e-05/0.006053, allocations: 110 kB / 256.4 MB, free: 2.09 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.006111, allocations: 23.95 kB / 256.4 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.006133, allocations: 15.62 kB / 256.4 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006135, allocations: 0 / 256.4 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006137, allocations: 0 / 256.4 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006139, allocations: 4 kB / 256.4 MB, free: 2.047 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.006333, allocations: 85.77 kB / 256.5 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006334, allocations: 0 / 256.5 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.006362, allocations: 11.98 kB / 256.5 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.006369, allocations: 7.938 kB / 256.5 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.006374, allocations: 0 / 256.5 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.006376, allocations: 4 kB / 256.5 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006377, allocations: 4 kB / 256.5 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.006535, allocations: 456.6 kB / 257 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.006542, allocations: 4 kB / 257 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.006552, allocations: 3.938 kB / 257 MB, free: 1.445 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.006665, allocations: 11.94 kB / 257 MB, free: 1.434 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.006697, allocations: 7.984 kB / 257 MB, free: 1.426 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.006701, allocations: 4 kB / 257 MB, free: 1.422 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.545e-05/0.006717, allocations: 16.84 kB / 257 MB, free: 1.402 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006717, allocations: 0 / 257 MB, free: 1.402 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.00693, allocations: 15.95 kB / 257 MB, free: 1.387 MB / 234.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.511e-05/0.007005, allocations: 80.36 kB / 257.1 MB, free: 1.297 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.75e-05/0.007073, allocations: 32.78 kB / 257.1 MB, free: 1.262 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.007077, allocations: 4 kB / 257.1 MB, free: 1.258 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.0071, allocations: 24.77 kB / 257.2 MB, free: 1.23 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.007399, allocations: 15.73 kB / 257.2 MB, free: 1.219 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.007831, allocations: 207.3 kB / 257.4 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.912e-05/0.00788, allocations: 59.34 kB / 257.4 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.48e-05/0.007905, allocations: 15.88 kB / 257.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.007944, allocations: 55.38 kB / 257.5 MB, free: 0.832 MB / 234.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007945, allocations: 0 / 257.5 MB, free: 0.832 MB / 234.7 MB Notification: Performance of Templates: time 0.00195/0.009895, allocations: 0.5039 MB / 258 MB, free: 336 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5730567178688943]