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.001606/0.001606, allocations: 119.1 kB / 18.46 MB, free: 4.562 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.001723/0.001723, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.554/1.554, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.001684/0.001684, allocations: 51.92 kB / 374.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.11, allocations: 53.33 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003435/0.1134, allocations: 1.608 MB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1145, allocations: 494.7 kB / 429.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1146, allocations: 3.938 kB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.1146, allocations: 7.938 kB / 429.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1147, allocations: 23.84 kB / 429.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1149, allocations: 31.91 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1151, allocations: 59.78 kB / 429.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1153, allocations: 36.14 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1154, allocations: 31.86 kB / 429.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.1155, allocations: 31.84 kB / 429.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1156, allocations: 7.938 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.1156, allocations: 8 kB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.1156, allocations: 19.92 kB / 429.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.1157, allocations: 23.81 kB / 429.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1159, allocations: 87.62 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1159, allocations: 3.938 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1159, allocations: 0 / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1159, allocations: 0 / 429.9 MB, free: 1.82 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.0006079/0.1165, allocations: 375.2 kB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1165, allocations: 8.031 kB / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1167, allocations: 28.83 kB / 430.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.117, allocations: 176.3 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.117, allocations: 20.3 kB / 430.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1171, allocations: 8.375 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1173, allocations: 116.9 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1173, allocations: 0 / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1174, allocations: 4 kB / 430.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1174, allocations: 7.938 kB / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.1176, allocations: 59.89 kB / 430.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.1183, allocations: 0.6536 MB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1185, allocations: 105 kB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1187, allocations: 60.33 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1187, allocations: 0 / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1187, allocations: 38.56 kB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1187, allocations: 0 / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000513/0.1193, allocations: 121.5 kB / 431.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1194, allocations: 162.2 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1195, allocations: 126.3 kB / 432 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1195, allocations: 33.7 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.1196, allocations: 92.09 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.1196, allocations: 19.89 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1197, allocations: 17.72 kB / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1198, allocations: 322.8 kB / 432.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.1199, allocations: 19.98 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.12, allocations: 56.28 kB / 432.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.1202, allocations: 76.19 kB / 432.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1202, allocations: 4 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002602/0.1205, allocations: 101.5 kB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1205, allocations: 4 kB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1205, allocations: 4 kB / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1205, allocations: 0 / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1206, allocations: 11.98 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1206, allocations: 12.09 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.1207, allocations: 11.88 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1207, allocations: 4 kB / 432.8 MB, free: 14.65 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.0001014/0.1208, allocations: 113.8 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.1209, allocations: 15.94 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.1209, allocations: 11.53 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1209, allocations: 0 / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1209, allocations: 0 / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1209, allocations: 7.938 kB / 432.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1214, allocations: 185.6 kB / 433.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1214, allocations: 0 / 433.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.1215, allocations: 11.98 kB / 433.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.1215, allocations: 4 kB / 433.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1215, allocations: 4.125 kB / 433.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1215, allocations: 7.938 kB / 433.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1215, allocations: 3.938 kB / 433.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.122, allocations: 492.5 kB / 433.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.122, allocations: 89.05 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1221, allocations: 4 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1223, allocations: 4 kB / 433.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.1223, allocations: 23.86 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1223, allocations: 0 / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.1224, allocations: 95.27 kB / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1224, allocations: 3.938 kB / 433.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.1228, allocations: 12 kB / 433.8 MB, free: 13.48 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.0001255/0.1229, allocations: 99.19 kB / 433.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.1232, allocations: 59.89 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1232, allocations: 0 / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.1233, allocations: 31.92 kB / 434 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.0005215/0.1238, allocations: 11.98 kB / 434 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.1244, allocations: 228.9 kB / 434.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1248, allocations: 0.6963 MB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.1248, allocations: 7.438 kB / 434.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1248, allocations: 4 kB / 435 MB, free: 12.28 MB / 366.1 MB Notification: Performance of Templates: time 0.00273/0.1275, allocations: 0.895 MB / 435.8 MB, free: 11.38 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/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: 7.061523681011749]