Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002431/0.002431, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 51.92 kB / 366.8 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09355, allocations: 52.13 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002798/0.09635, allocations: 1.602 MB / 420.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006642/0.09701, allocations: 434.9 kB / 421 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.09706, allocations: 4 kB / 421 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.0971, allocations: 15.86 kB / 421 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.029e-05/0.09717, allocations: 7.875 kB / 421 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.0973, allocations: 23.95 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.0974, allocations: 59.78 kB / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.09755, allocations: 31.92 kB / 421.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.542e-05/0.09763, allocations: 27.91 kB / 421.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.09771, allocations: 31.8 kB / 421.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.09772, allocations: 4 kB / 421.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.09774, allocations: 8 kB / 421.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.09776, allocations: 11.98 kB / 421.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.0978, allocations: 39.73 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.09792, allocations: 67.66 kB / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09792, allocations: 0 / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09793, allocations: 0 / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.09793, allocations: 0 / 421.3 MB, free: 9.754 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.0005147/0.09844, allocations: 387.1 kB / 421.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.09848, allocations: 8.031 kB / 421.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.09851, allocations: 8.891 kB / 421.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.09865, allocations: 184.2 kB / 421.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.09868, allocations: 4.375 kB / 421.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.09869, allocations: 11.94 kB / 421.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.09893, allocations: 113.9 kB / 422 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.09894, allocations: 0 / 422 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.09895, allocations: 7.938 kB / 422 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.09895, allocations: 4 kB / 422 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.09913, allocations: 55.89 kB / 422.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.09981, allocations: 0.6381 MB / 422.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1, allocations: 121 kB / 422.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1001, allocations: 56.34 kB / 422.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1001, allocations: 3.938 kB / 422.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1002, allocations: 38.55 kB / 422.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1002, allocations: 4 kB / 422.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004524/0.1006, allocations: 129.4 kB / 423 MB, free: 7.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/0.1007, allocations: 158.8 kB / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1008, allocations: 121.8 kB / 423.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1008, allocations: 29.64 kB / 423.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.1009, allocations: 96.08 kB / 423.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1009, allocations: 19.8 kB / 423.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.101, allocations: 25.7 kB / 423.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1011, allocations: 314.8 kB / 423.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.1012, allocations: 19.98 kB / 423.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.1013, allocations: 56.27 kB / 423.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.1015, allocations: 80.2 kB / 423.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1015, allocations: 0 / 423.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002253/0.1017, allocations: 93.53 kB / 424 MB, free: 6.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1017, allocations: 4 kB / 424 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1017, allocations: 4 kB / 424 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1017, allocations: 3.938 kB / 424 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.1018, allocations: 16.14 kB / 424.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1018, allocations: 4 kB / 424.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.1019, allocations: 11.94 kB / 424.1 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1019, allocations: 8 kB / 424.1 MB, free: 6.602 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 8.968e-05/0.102, allocations: 117.8 kB / 424.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.965e-05/0.1021, allocations: 4 kB / 424.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.1021, allocations: 11.53 kB / 424.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1021, allocations: 3.938 kB / 424.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1021, allocations: 4 kB / 424.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1021, allocations: 7.984 kB / 424.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.1025, allocations: 193.7 kB / 424.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1025, allocations: 0 / 424.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.1026, allocations: 8 kB / 424.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1026, allocations: 4 kB / 424.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1026, allocations: 7.922 kB / 424.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1026, allocations: 7.938 kB / 424.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1026, allocations: 0 / 424.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.103, allocations: 488.6 kB / 424.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1031, allocations: 89 kB / 425 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1031, allocations: 0 / 425 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.1033, allocations: 23.92 kB / 425 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.1033, allocations: 7.938 kB / 425 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1033, allocations: 0 / 425 MB, free: 5.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.1034, allocations: 95.2 kB / 425.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1034, allocations: 0 / 425.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.1038, allocations: 16 kB / 425.2 MB, free: 5.434 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.0001026/0.1039, allocations: 95.19 kB / 425.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1041, allocations: 63.89 kB / 425.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1041, allocations: 0 / 425.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1042, allocations: 35.92 kB / 425.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.1047, allocations: 6.016 kB / 425.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.1051, allocations: 232.8 kB / 425.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1055, allocations: 0.6961 MB / 426.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.1055, allocations: 15.44 kB / 426.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1055, allocations: 0 / 426.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of Templates: time 0.002373/0.1079, allocations: 0.8753 MB / 427.2 MB, free: 3.344 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.265233170008287]