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.001702/0.001702, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002056/0.002056, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.479/1.479, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.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.001982/0.001982, allocations: 63.89 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 53.32 MB / 427.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.004782/0.1207, allocations: 1.62 MB / 429.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1222, allocations: 498.7 kB / 429.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1223, allocations: 0 / 429.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.388e-05/0.1224, allocations: 11.86 kB / 429.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.1225, allocations: 19.8 kB / 430 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1229, allocations: 27.97 kB / 430 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1231, allocations: 63.72 kB / 430 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1233, allocations: 36.19 kB / 430.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.1235, allocations: 35.8 kB / 430.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1236, allocations: 31.86 kB / 430.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1237, allocations: 4 kB / 430.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.997e-05/0.1237, allocations: 8 kB / 430.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.1237, allocations: 23.91 kB / 430.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1239, allocations: 27.8 kB / 430.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1241, allocations: 75.66 kB / 430.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1241, allocations: 0 / 430.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1241, allocations: 3.938 kB / 430.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1241, allocations: 0 / 430.3 MB, free: 1.992 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.0007651/0.1249, allocations: 386.1 kB / 430.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1249, allocations: 8.031 kB / 430.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.1252, allocations: 24.83 kB / 430.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.1255, allocations: 184.2 kB / 430.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.1256, allocations: 4.375 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1256, allocations: 8.375 kB / 430.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.126, allocations: 122.2 kB / 431 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.126, allocations: 3.938 kB / 431 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.126, allocations: 0 / 431 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.126, allocations: 4 kB / 431 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.1264, allocations: 55.89 kB / 431.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1274, allocations: 0.6459 MB / 431.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.1277, allocations: 116.9 kB / 431.8 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.128, allocations: 48.41 kB / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.128, allocations: 0 / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.128, allocations: 42.56 kB / 431.9 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.128, allocations: 0 / 431.9 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008688/0.1289, allocations: 126 kB / 432 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.1291, allocations: 166.3 kB / 432.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1292, allocations: 121.7 kB / 432.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1293, allocations: 29.7 kB / 432.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.1294, allocations: 92.08 kB / 432.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.1294, allocations: 15.91 kB / 432.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.1295, allocations: 21.7 kB / 432.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.1297, allocations: 318.8 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1299, allocations: 27.81 kB / 432.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.13, allocations: 52.27 kB / 432.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.1304, allocations: 84.14 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1304, allocations: 3.938 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000476/0.1309, allocations: 97.67 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1309, allocations: 4 kB / 433.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.131, allocations: 8.109 kB / 433.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.131, allocations: 4 kB / 433.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1312, allocations: 15.92 kB / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1312, allocations: 4 kB / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1313, allocations: 15.86 kB / 433.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1313, allocations: 8 kB / 433.1 MB, free: 14.82 MB / 366.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.0001614/0.1315, allocations: 113.9 kB / 433.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.1317, allocations: 11.95 kB / 433.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.1317, allocations: 11.53 kB / 433.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1317, allocations: 0 / 433.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1317, allocations: 0 / 433.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.1317, allocations: 11.92 kB / 433.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007559/0.1325, allocations: 185.6 kB / 433.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1325, allocations: 0 / 433.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.1326, allocations: 15.92 kB / 433.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.1326, allocations: 4 kB / 433.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1327, allocations: 3.984 kB / 433.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1327, allocations: 8 kB / 433.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1327, allocations: 0 / 433.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007247/0.1334, allocations: 492.5 kB / 433.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1335, allocations: 89 kB / 434 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1335, allocations: 4 kB / 434 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.1339, allocations: 11.98 kB / 434.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.134, allocations: 7.938 kB / 434.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.134, allocations: 0 / 434.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1341, allocations: 95.27 kB / 434.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1341, allocations: 3.938 kB / 434.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007641/0.1349, allocations: 16 kB / 434.2 MB, free: 13.65 MB / 366.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.0002094/0.1351, allocations: 99.17 kB / 434.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004935/0.1356, allocations: 59.84 kB / 434.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.1356, allocations: 4 kB / 434.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.1359, allocations: 36.41 kB / 434.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.1369, allocations: 7.938 kB / 434.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.1377, allocations: 224.3 kB / 434.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.1382, allocations: 0.6926 MB / 435.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.1383, allocations: 11.44 kB / 435.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1383, allocations: 0 / 435.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.004484/0.1428, allocations: 0.9029 MB / 436.2 MB, free: 11.55 MB / 366.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/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_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: 6.9077842039987445]