Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0017/0.0017, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001974/0.001974, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.11 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+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_4.1.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.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 47.92 kB / 373.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1215, allocations: 53.33 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003666/0.1251, allocations: 1.616 MB / 428.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1266, allocations: 0.4909 MB / 428.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1267, allocations: 4 kB / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.433e-05/0.1268, allocations: 7.875 kB / 428.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1269, allocations: 11.86 kB / 428.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1273, allocations: 35.91 kB / 429 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1275, allocations: 59.78 kB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.1277, allocations: 36.19 kB / 429.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.1279, allocations: 39.8 kB / 429.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.128, allocations: 27.86 kB / 429.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1281, allocations: 4 kB / 429.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.1281, allocations: 15.98 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.1281, allocations: 7.938 kB / 429.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.1282, allocations: 35.8 kB / 429.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1285, allocations: 75.64 kB / 429.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1285, allocations: 3.938 kB / 429.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1285, allocations: 0 / 429.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1285, allocations: 0 / 429.3 MB, free: 1.832 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.0007508/0.1292, allocations: 387.2 kB / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1293, allocations: 8.031 kB / 429.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.1295, allocations: 16.84 kB / 429.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.1299, allocations: 192.2 kB / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1299, allocations: 4.375 kB / 429.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1299, allocations: 8.375 kB / 429.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.1302, allocations: 122.2 kB / 430 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1302, allocations: 0 / 430 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1303, allocations: 0 / 430 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1303, allocations: 4 kB / 430 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1305, allocations: 59.83 kB / 430 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008154/0.1313, allocations: 0.642 MB / 430.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.1315, allocations: 120.9 kB / 430.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1316, allocations: 52.41 kB / 430.9 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1317, allocations: 4 kB / 430.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.1317, allocations: 42.48 kB / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1317, allocations: 0 / 430.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005203/0.1323, allocations: 126 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.1323, allocations: 154.2 kB / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1325, allocations: 121.8 kB / 431.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1325, allocations: 25.7 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.1326, allocations: 100.1 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1326, allocations: 11.91 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1326, allocations: 21.83 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1328, allocations: 326.8 kB / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.1329, allocations: 23.97 kB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.133, allocations: 48.22 kB / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1332, allocations: 84.2 kB / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1332, allocations: 0 / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002438/0.1334, allocations: 101.5 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1335, allocations: 6.188 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1335, allocations: 3.938 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1335, allocations: 4 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1336, allocations: 15.98 kB / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1336, allocations: 0 / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.1337, allocations: 19.86 kB / 432.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1337, allocations: 0 / 432.1 MB, free: 14.67 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.0001184/0.1338, allocations: 122 kB / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.1339, allocations: 7.953 kB / 432.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.1339, allocations: 7.531 kB / 432.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.134, allocations: 7.984 kB / 432.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.134, allocations: 4.125 kB / 432.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.134, allocations: 3.938 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.1344, allocations: 181.6 kB / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1344, allocations: 4 kB / 432.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.1345, allocations: 15.92 kB / 432.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1345, allocations: 4 kB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1345, allocations: 8 kB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1345, allocations: 0 / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1345, allocations: 7.938 kB / 432.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.1349, allocations: 492.5 kB / 432.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.135, allocations: 89.06 kB / 433 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.135, allocations: 0 / 433 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1352, allocations: 7.984 kB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.1353, allocations: 7.938 kB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1353, allocations: 11.98 kB / 433 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.005e-05/0.1354, allocations: 91.72 kB / 433.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1354, allocations: 3.938 kB / 433.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.1357, allocations: 12 kB / 433.1 MB, free: 13.5 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.0001267/0.1359, allocations: 99.17 kB / 433.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.1362, allocations: 63.84 kB / 433.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1362, allocations: 320 / 433.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1363, allocations: 39.91 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.1368, allocations: 4.328 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.1374, allocations: 198.9 kB / 433.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1378, allocations: 0.6962 MB / 434.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.94e-05/0.1378, allocations: 4 kB / 434.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.1379, allocations: 7.438 kB / 434.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1379, allocations: 0 / 434.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.003409/0.1413, allocations: 0.5655 MB / 434.8 MB, free: 11.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.727588411420584]