Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00177/0.00177, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.001871/0.001871, allocations: 210.6 kB / 21.41 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 251.6 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.88 kB / 365.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1302, allocations: 50.55 MB / 416 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003496/0.1338, allocations: 1.606 MB / 417.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.1347, allocations: 0.4947 MB / 418.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.1348, allocations: 0 / 418.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.1349, allocations: 11.88 kB / 418.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.135, allocations: 11.86 kB / 418.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1352, allocations: 27.97 kB / 418.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1354, allocations: 63.72 kB / 418.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.1356, allocations: 40.2 kB / 418.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1358, allocations: 39.8 kB / 418.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.1358, allocations: 35.83 kB / 418.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1359, allocations: 4 kB / 418.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.11e-05/0.1359, allocations: 8 kB / 418.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.136, allocations: 15.94 kB / 418.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.136, allocations: 27.8 kB / 418.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1362, allocations: 79.64 kB / 418.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1362, allocations: 0 / 418.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1362, allocations: 3.938 kB / 418.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1362, allocations: 0 / 418.5 MB, free: 10.73 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.0006123/0.1369, allocations: 383.2 kB / 418.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1369, allocations: 8.031 kB / 418.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1371, allocations: 28.81 kB / 418.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1374, allocations: 188.1 kB / 419.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.1374, allocations: 4.375 kB / 419.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1374, allocations: 8.375 kB / 419.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1377, allocations: 118.3 kB / 419.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1377, allocations: 3.938 kB / 419.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1377, allocations: 4 kB / 419.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1377, allocations: 0 / 419.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.138, allocations: 59.89 kB / 419.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.139, allocations: 0.6459 MB / 419.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1392, allocations: 117 kB / 420 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1394, allocations: 52.34 kB / 420.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1394, allocations: 7.984 kB / 420.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1395, allocations: 34.56 kB / 420.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1395, allocations: 0 / 420.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004669/0.1399, allocations: 129.9 kB / 420.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.14, allocations: 154.2 kB / 420.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1402, allocations: 125.8 kB / 420.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1402, allocations: 25.7 kB / 420.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.1403, allocations: 96.09 kB / 420.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1403, allocations: 15.89 kB / 420.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.1403, allocations: 21.66 kB / 420.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1405, allocations: 322.9 kB / 421 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.1406, allocations: 23.92 kB / 421 MB, free: 7.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1407, allocations: 48.28 kB / 421.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1409, allocations: 84.14 kB / 421.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1409, allocations: 4.125 kB / 421.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/0.1412, allocations: 101.6 kB / 421.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1412, allocations: 8 kB / 421.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1412, allocations: 0 / 421.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1412, allocations: 7.984 kB / 421.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.1413, allocations: 11.94 kB / 421.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1413, allocations: 0 / 421.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.1414, allocations: 19.86 kB / 421.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1414, allocations: 0 / 421.3 MB, free: 7.559 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 0.000115/0.1415, allocations: 122 kB / 421.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.1416, allocations: 7.953 kB / 421.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.1417, allocations: 11.52 kB / 421.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1417, allocations: 4 kB / 421.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1417, allocations: 0 / 421.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1417, allocations: 3.938 kB / 421.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.1421, allocations: 181.6 kB / 421.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1421, allocations: 4 kB / 421.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1422, allocations: 15.92 kB / 421.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1422, allocations: 0 / 421.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1422, allocations: 12 kB / 421.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1422, allocations: 0 / 421.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1422, allocations: 4 kB / 421.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.1427, allocations: 496.5 kB / 422.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1428, allocations: 85.06 kB / 422.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1429, allocations: 0 / 422.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1431, allocations: 7.984 kB / 422.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.1431, allocations: 19.91 kB / 422.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.1431, allocations: 4 kB / 422.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.517e-05/0.1432, allocations: 91.27 kB / 422.3 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.1432, allocations: 4 kB / 422.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.1436, allocations: 15.94 kB / 422.4 MB, free: 6.391 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 0.0001402/0.1437, allocations: 103.1 kB / 422.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.144, allocations: 63.83 kB / 422.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.144, allocations: 320 / 422.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1441, allocations: 31.98 kB / 422.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.1446, allocations: 11.94 kB / 422.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.1451, allocations: 190.6 kB / 422.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.1456, allocations: 0.6966 MB / 423.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.1456, allocations: 3.984 kB / 423.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1457, allocations: 11.44 kB / 423.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1457, allocations: 0 / 423.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of Templates: time 0.00314/0.1488, allocations: 0.5553 MB / 424 MB, free: 4.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.367016983218491]